summaryrefslogtreecommitdiff
path: root/cxx/cxx_throw/init.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cxx/cxx_throw/init.cc')
-rw-r--r--cxx/cxx_throw/init.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/cxx/cxx_throw/init.cc b/cxx/cxx_throw/init.cc
index 041a73f..b001015 100644
--- a/cxx/cxx_throw/init.cc
+++ b/cxx/cxx_throw/init.cc
@@ -164,6 +164,12 @@ rtems_task Init(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_MAXIMUM_TASKS 1
+/*
+ * GCC C++ support requires Classic Semaphores but this could change to
+ * POSIX mutexes at some point in the future. When that happens, this will
+ * need to change.
+ */
+#define CONFIGURE_MAXIMUM_SEMAPHORES 1
#define CONFIGURE_INIT