diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/rtems/include/rtems.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/c/src/exec/rtems/include/rtems.h b/c/src/exec/rtems/include/rtems.h index 97eec4b772..e8826079b9 100644 --- a/c/src/exec/rtems/include/rtems.h +++ b/c/src/exec/rtems/include/rtems.h @@ -23,6 +23,18 @@ extern "C" { #endif +/* + * Unless told otherwise, the RTEMS include files will hide some stuff + * from normal application code. Defining this crosses a boundary which + * is undesirable since it means your application is using RTEMS features + * which are not included in the formally defined and supported API. + * Define this at your own risk. + */ + +#ifndef __RTEMS_VIOLATE_KERNEL_VISIBILITY__ +#define __RTEMS_APPLICATION__ +#endif + #include <rtems/system.h> #include <rtems/rtems/status.h> #include <rtems/rtems/types.h> |