From 0e98970264639f4c05a2d2aa74807046b3bfbe12 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 17 Apr 2014 08:02:46 +0200 Subject: sapi: Fix CONFIGURE_UNLIMITED_OBJECTS POSIX keys and key value pairs support now the unlimited option. --- cpukit/sapi/include/confdefs.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index 9c466e59d4..69c74f7bad 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -1632,6 +1632,14 @@ const rtems_libio_helper rtems_fs_init_helper = #define CONFIGURE_MAXIMUM_BARRIERS \ rtems_resource_unlimited(CONFIGURE_UNLIMITED_ALLOCATION_SIZE) #endif + #if !defined(CONFIGURE_MAXIMUM_POSIX_KEYS) + #define CONFIGURE_MAXIMUM_POSIX_KEYS \ + rtems_resource_unlimited(CONFIGURE_UNLIMITED_ALLOCATION_SIZE) + #endif + #if !defined(CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS) + #define CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS \ + rtems_resource_unlimited(CONFIGURE_UNLIMITED_ALLOCATION_SIZE) + #endif #ifdef RTEMS_POSIX_API #if !defined(CONFIGURE_MAXIMUM_POSIX_THREADS) @@ -1646,12 +1654,6 @@ const rtems_libio_helper rtems_fs_init_helper = #define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES \ rtems_resource_unlimited(CONFIGURE_UNLIMITED_ALLOCATION_SIZE) #endif -/* - #if !defined(CONFIGURE_MAXIMUM_POSIX_KEYS) - #define CONFIGURE_MAXIMUM_POSIX_KEYS \ - rtems_resource_unlimited(CONFIGURE_UNLIMITED_ALLOCATION_SIZE) - #endif -*/ #if !defined(CONFIGURE_MAXIMUM_POSIX_TIMERS) #define CONFIGURE_MAXIMUM_POSIX_TIMERS \ rtems_resource_unlimited(CONFIGURE_UNLIMITED_ALLOCATION_SIZE) -- cgit v1.2.3