summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/include/rtems.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/rtems/include/rtems.h')
-rw-r--r--c/src/exec/rtems/include/rtems.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/rtems/include/rtems.h b/c/src/exec/rtems/include/rtems.h
index dc7d7c2c0b..9a165c08dd 100644
--- a/c/src/exec/rtems/include/rtems.h
+++ b/c/src/exec/rtems/include/rtems.h
@@ -31,7 +31,7 @@ extern "C" {
* Define this at your own risk.
*/
-#ifndef __RTEMS_VIOLATE_KERNEL_VISIBILITY__
+#if !defined(__RTEMS_VIOLATE_KERNEL_VISIBILITY__) && !defined(__RTEMS_INSIDE__)
#define __RTEMS_APPLICATION__
#endif