summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-24 14:50:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-24 14:50:00 +0000
commitff0b0082b1a8b20b5a434c0ccd7b0e4358866bac (patch)
treed3683be8f5b25dd514eb921c86190233909014de /c/src/exec/rtems
parentCleanup patch from Eric Norum. (diff)
downloadrtems-ff0b0082b1a8b20b5a434c0ccd7b0e4358866bac.tar.bz2
Added __RTEMS_INSIDE__ macro to insure that ".inl" files are ALWAYS included
when building the executive source.
Diffstat (limited to 'c/src/exec/rtems')
-rw-r--r--c/src/exec/rtems/headers/rtems.h2
-rw-r--r--c/src/exec/rtems/include/rtems.h2
-rw-r--r--c/src/exec/rtems/src/Makefile.in2
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)