]> granicus.if.org Git - python/commitdiff
Document that _POSIX_SEMAPHORES is predefined.
authorMartin v. Löwis <martin@v.loewis.de>
Sun, 17 Mar 2002 17:19:00 +0000 (17:19 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sun, 17 Mar 2002 17:19:00 +0000 (17:19 +0000)
Python/thread_pthread.h

index 56aec4460dec4e5f083aeb78168ff04b4bdba5b2..556445e583a19693a78e1d21174c22a0f2f09561 100644 (file)
 #undef destructor
 #endif
 #include <signal.h>
+
+/* The POSIX spec says that implementations supporting the sem_*
+   family of functions must indicate this by defining
+   _POSIX_SEMAPHORES. */   
 #ifdef _POSIX_SEMAPHORES
 #include <semaphore.h>
 #include <errno.h>