RTEMS: Increase SEM_VALUE_MAX

RTEMS defined SEM_VALUE_MAX to 32767 unlike other systems like FreeBSD
and glibc.  A common value is INT_MAX.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
Sebastian Huber 2016-12-19 15:19:47 +01:00 committed by Corinna Vinschen
parent 4e75d7f504
commit 483e696049
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@
#define PAGESIZE (1<<12) #define PAGESIZE (1<<12)
#define RTSIG_MAX 8 #define RTSIG_MAX 8
#define SEM_NSEMS_MAX 256 #define SEM_NSEMS_MAX 256
#define SEM_VALUE_MAX 32767 #define SEM_VALUE_MAX INT_MAX
#define SIGQUEUE_MAX 32 #define SIGQUEUE_MAX 32
#define STREAM_MAX 8 #define STREAM_MAX 8
#define TIMER_MAX 32 #define TIMER_MAX 32