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