(SEM_VALUE_MAX): Jusr use a plain number.
This commit is contained in:
parent
ce0cf67279
commit
7c1ebdffa6
@ -27,7 +27,7 @@
|
|||||||
#define SEM_FAILED ((sem_t *) 0)
|
#define SEM_FAILED ((sem_t *) 0)
|
||||||
|
|
||||||
/* Maximum value the semaphore can have. */
|
/* Maximum value the semaphore can have. */
|
||||||
#define SEM_VALUE_MAX ((int) ((~0u) >> 1))
|
#define SEM_VALUE_MAX (2147483647)
|
||||||
|
|
||||||
|
|
||||||
typedef union
|
typedef union
|
||||||
|
Loading…
x
Reference in New Issue
Block a user