diff options
Diffstat (limited to 'c')
-rw-r--r-- | c/src/exec/posix/src/Makefile.in | 2 | ||||
-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 | ||||
-rw-r--r-- | c/src/exec/sapi/src/Makefile.in | 2 | ||||
-rw-r--r-- | c/src/exec/score/src/Makefile.in | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/c/src/exec/posix/src/Makefile.in b/c/src/exec/posix/src/Makefile.in index fbe1778cf9..7091a3b7c3 100644 --- a/c/src/exec/posix/src/Makefile.in +++ b/c/src/exec/posix/src/Makefile.in @@ -26,7 +26,7 @@ include $(RTEMS_ROOT)/make/lib.cfg # Add local stuff here using += # -DEFINES += +DEFINES += -D__RTEMS_INSIDE__ CPPFLAGS += CFLAGS += $(CFLAGS_OS_V) 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) diff --git a/c/src/exec/sapi/src/Makefile.in b/c/src/exec/sapi/src/Makefile.in index f5d4a9b565..23e87931c7 100644 --- a/c/src/exec/sapi/src/Makefile.in +++ b/c/src/exec/sapi/src/Makefile.in @@ -22,7 +22,7 @@ include $(RTEMS_ROOT)/make/lib.cfg # Add local stuff here using += # -DEFINES += +DEFINES += -D__RTEMS_INSIDE__ CPPFLAGS += CFLAGS += $(CFLAGS_OS_V) diff --git a/c/src/exec/score/src/Makefile.in b/c/src/exec/score/src/Makefile.in index 3799b123f1..4548b4cdde 100644 --- a/c/src/exec/score/src/Makefile.in +++ b/c/src/exec/score/src/Makefile.in @@ -25,7 +25,7 @@ include $(RTEMS_ROOT)/make/lib.cfg # Add local stuff here using += # -DEFINES += +DEFINES += -D__RTEMS_INSIDE__ CPPFLAGS += CFLAGS += $(CFLAGS_OS_V) |