From 2eba45de912fcc341e9635875f5b2475e9f4ac93 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 28 May 1996 14:16:45 +0000 Subject: made posix configuration information conditional so configurations wanting only the rtems api don't have to include it. --- c/src/exec/sapi/include/rtems/config.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'c/src/exec/sapi/include/rtems') 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 +#else + +typedef void *posix_api_configuration_table; +#endif + #include /* XXX should cover these -- cgit v1.2.3