(SEM_VALUE_MAX): Jusr use a plain number.

This commit is contained in:
Ulrich Drepper 2004-04-17 23:06:39 +00:00
parent ce0cf67279
commit 7c1ebdffa6

View File

@ -27,7 +27,7 @@
#define SEM_FAILED ((sem_t *) 0)
/* Maximum value the semaphore can have. */
#define SEM_VALUE_MAX ((int) ((~0u) >> 1))
#define SEM_VALUE_MAX (2147483647)
typedef union