diff options
Diffstat (limited to 'libpthread/linuxthreads/semaphore.h')
-rw-r--r-- | libpthread/linuxthreads/semaphore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/semaphore.h b/libpthread/linuxthreads/semaphore.h index 9a9b72c9e..7f3dbadfb 100644 --- a/libpthread/linuxthreads/semaphore.h +++ b/libpthread/linuxthreads/semaphore.h @@ -44,7 +44,7 @@ typedef struct /* Maximum value the semaphore can have. */ #ifndef SEM_VALUE_MAX -#define SEM_VALUE_MAX ((int) ((~0u) >> 1)) +#define SEM_VALUE_MAX (2147483647) #endif |