diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-05-28 14:16:45 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-05-28 14:16:45 +0000 |
commit | 2eba45de912fcc341e9635875f5b2475e9f4ac93 (patch) | |
tree | f4cd9fe6eb305e17650e05731f20e6eb5e1cfaa2 /c/src/exec/sapi/include/rtems | |
parent | fixed typo (diff) | |
download | rtems-2eba45de912fcc341e9635875f5b2475e9f4ac93.tar.bz2 |
made posix configuration information conditional so configurations wanting
only the rtems api don't have to include it.
Diffstat (limited to 'c/src/exec/sapi/include/rtems')
-rw-r--r-- | c/src/exec/sapi/include/rtems/config.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/c/src/exec/sapi/include/rtems/config.h b/c/src/exec/sapi/include/rtems/config.h index d43839e6d6..7ff0f9f485 100644 --- a/c/src/exec/sapi/include/rtems/config.h +++ b/c/src/exec/sapi/include/rtems/config.h @@ -21,7 +21,18 @@ extern "C" { #endif +/* + * This is kind of kludgy but it allows targets to totally ignore the + * POSIX API safely. + */ + +#ifdef RTEMS_POSIX_API #include <rtems/posix/config.h> +#else + +typedef void *posix_api_configuration_table; +#endif + #include <rtems/rtems/config.h> /* XXX <rtems/rtems/config.h> should cover these |