From 42ab61eeabe45359f46a8378e572e5c73a8adb36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 17 Mar 2002 17:19:00 +0000 Subject: [PATCH] Document that _POSIX_SEMAPHORES is predefined. --- Python/thread_pthread.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index 56aec4460de..556445e583a 100644 --- a/Python/thread_pthread.h +++ b/Python/thread_pthread.h @@ -11,6 +11,10 @@ #undef destructor #endif #include + +/* The POSIX spec says that implementations supporting the sem_* + family of functions must indicate this by defining + _POSIX_SEMAPHORES. */ #ifdef _POSIX_SEMAPHORES #include #include