summaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h b/nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h
index 934493c308..e6c5d845ce 100644
--- a/nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h
+++ b/nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h
@@ -28,6 +28,9 @@
/* Value returned if `sem_open' failed. */
#define SEM_FAILED ((sem_t *) 0)
+/* Maximum value the semaphore can have. */
+#define SEM_VALUE_MAX (2147483647)
+
typedef union
{