summaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h b/nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h
index 8fd7d344ea..7f3a328326 100644
--- a/nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h
+++ b/nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h
@@ -33,6 +33,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
{