aboutsummaryrefslogtreecommitdiffstats
path: root/include/gos/raw32.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gos/raw32.h')
-rw-r--r--include/gos/raw32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gos/raw32.h b/include/gos/raw32.h
index 155c0b1c..eb5b5e18 100644
--- a/include/gos/raw32.h
+++ b/include/gos/raw32.h
@@ -66,7 +66,7 @@ typedef int threadpriority_t;
#define TIME_IMMEDIATE 0
#define TIME_INFINITE ((delaytime_t)-1)
-#define MAX_SEMAPHORE_COUNT ((semcount_t)(((unsigned long)((semcount_t)(-1))) >> 1))
+#define MAX_SEMAPHORE_COUNT 0x7FFF
#define LOW_PRIORITY 0
#define NORMAL_PRIORITY 1
#define HIGH_PRIORITY 2