summaryrefslogtreecommitdiff
path: root/ace/config-rtems.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/config-rtems.h')
-rw-r--r--ace/config-rtems.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ace/config-rtems.h b/ace/config-rtems.h
index 7917c0c6dfd..81cb8778a8f 100644
--- a/ace/config-rtems.h
+++ b/ace/config-rtems.h
@@ -38,7 +38,9 @@
# define ACE_CONFIG_INCLUDE_CXX_COMMON
# include "ace/config-cxx-common.h"
#else /* ! __GNUG__ && ! __KCC && !__DECCXX */
-# error unsupported compiler in ace/config-linux-common.h
+# ifdef __cplusplus /* Let it slide for C compilers. */
+# error unsupported compiler in ace/config-rtems.h
+# endif /* __cplusplus */
#endif /* ! __GNUG__ && ! __KCC */
// Completely common part :-)