diff options
author | Chris Johns <chrisj@rtems.org> | 2014-04-27 09:32:20 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-04-27 09:34:01 +1000 |
commit | 0c5beb8ecbed56034f7a7573b28872f487d127ee (patch) | |
tree | 57df344c02563ab041ee038586dfa2ba27be0081 /cpukit/sapi | |
parent | sapi: Fix condef.h compile error for disabled network configuration. (diff) | |
download | rtems-0c5beb8ecbed56034f7a7573b28872f487d127ee.tar.bz2 |
rtems: Account for the network semaphore.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r-- | cpukit/sapi/include/confdefs.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index b2a58d4bed..c58915c4a6 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -1780,10 +1780,17 @@ const rtems_libio_helper rtems_fs_init_helper = #define CONFIGURE_MAXIMUM_SEMAPHORES 0 #endif + #ifdef RTEMS_NETWORKING + #define CONFIGURE_NETWORKING_SEMAPHORES 1 + #else + #define CONFIGURE_NETWORKING_SEMAPHORES 0 + #endif + #define CONFIGURE_SEMAPHORES \ (CONFIGURE_MAXIMUM_SEMAPHORES + CONFIGURE_LIBIO_SEMAPHORES + \ CONFIGURE_TERMIOS_SEMAPHORES + CONFIGURE_LIBBLOCK_SEMAPHORES + \ - CONFIGURE_SEMAPHORES_FOR_FILE_SYSTEMS) + CONFIGURE_SEMAPHORES_FOR_FILE_SYSTEMS + \ + CONFIGURE_NETWORKING_SEMAPHORES) /* * If there are no user or support semaphores defined, then we can assume |