diff options
Diffstat (limited to 'c/src/exec/rtems')
-rw-r--r-- | c/src/exec/rtems/headers/rtems.h | 2 | ||||
-rw-r--r-- | c/src/exec/rtems/include/rtems.h | 2 | ||||
-rw-r--r-- | c/src/exec/rtems/src/Makefile.in | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/c/src/exec/rtems/headers/rtems.h b/c/src/exec/rtems/headers/rtems.h index dc7d7c2c0b..9a165c08dd 100644 --- a/c/src/exec/rtems/headers/rtems.h +++ b/c/src/exec/rtems/headers/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 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 diff --git a/c/src/exec/rtems/src/Makefile.in b/c/src/exec/rtems/src/Makefile.in index 6cfbefad4f..cfab26e662 100644 --- a/c/src/exec/rtems/src/Makefile.in +++ b/c/src/exec/rtems/src/Makefile.in @@ -24,7 +24,7 @@ include $(RTEMS_ROOT)/make/lib.cfg # Add local stuff here using += # -DEFINES += +DEFINES += -D__RTEMS_INSIDE__ CPPFLAGS += CFLAGS += $(CFLAGS_OS_V) |