diff options
Diffstat (limited to 'linuxthreads/semaphore.h')
-rw-r--r-- | linuxthreads/semaphore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/semaphore.h b/linuxthreads/semaphore.h index 7b09ea9319..8407007d0b 100644 --- a/linuxthreads/semaphore.h +++ b/linuxthreads/semaphore.h @@ -42,7 +42,7 @@ typedef struct #define SEM_FAILED ((sem_t *) 0) /* Maximum value the semaphore can have. */ -#define SEM_VALUE_MAX ((int) ((~0u) >> 1)) +#define SEM_VALUE_MAX (2147483647) __BEGIN_DECLS |