summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/include/rtems/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/score/include/rtems/system.h')
-rw-r--r--c/src/exec/score/include/rtems/system.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/c/src/exec/score/include/rtems/system.h b/c/src/exec/score/include/rtems/system.h
index 22ae606342..9b50159c81 100644
--- a/c/src/exec/score/include/rtems/system.h
+++ b/c/src/exec/score/include/rtems/system.h
@@ -56,14 +56,15 @@ extern "C" {
*/
#ifdef USE_INLINES
-#define STATIC static
-#define INLINE __inline__
+# define STATIC static
+# ifdef __GNUC__
+# define INLINE __inline__
+# else
+# define INLINE inline
+# endif
#else
-/*
-#error Only the GNU C compiler is currently supported!!!
-*/
-#define STATIC
-#define INLINE
+# define STATIC
+# define INLINE
#endif
/*