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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/c/src/exec/score/include/rtems/system.h b/c/src/exec/score/include/rtems/system.h
index 4d7f550141..423952aa56 100644
--- a/c/src/exec/score/include/rtems/system.h
+++ b/c/src/exec/score/include/rtems/system.h
@@ -69,6 +69,14 @@ extern "C" {
#define POSIX_EXTERN extern
#endif
+#ifdef ITRON_API_INIT
+#undef ITRON_EXTERN
+#define ITRON_EXTERN
+#else
+#undef ITRON_EXTERN
+#define ITRON_EXTERN extern
+#endif
+
/*
* The following (in conjunction with compiler arguments) are used
* to choose between the use of static inline functions and macro