From: Martin v. Löwis Date: Sun, 17 Mar 2002 17:19:00 +0000 (+0000) Subject: Document that _POSIX_SEMAPHORES is predefined. X-Git-Tag: v2.3c1~6471 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42ab61eeabe45359f46a8378e572e5c73a8adb36;p=python Document that _POSIX_SEMAPHORES is predefined. --- diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index 56aec4460d..556445e583 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