Index: dist/src/Python/thread_pthread.h =================================================================== RCS file: /cvsroot/python/python/dist/src/Python/thread_pthread.h,v retrieving revision 2.40 diff -c -r2.40 thread_pthread.h *** dist/src/Python/thread_pthread.h 17 Mar 2002 17:19:00 -0000 2.40 --- dist/src/Python/thread_pthread.h 22 Mar 2002 17:12:00 -0000 *************** *** 15,21 **** /* The POSIX spec says that implementations supporting the sem_* family of functions must indicate this by defining _POSIX_SEMAPHORES. */ ! #ifdef _POSIX_SEMAPHORES #include #include #endif --- 15,21 ---- /* The POSIX spec says that implementations supporting the sem_* family of functions must indicate this by defining _POSIX_SEMAPHORES. */ ! #if defined(_POSIX_SEMAPHORES) || defined(__CYGWIN__) #include #include #endif *************** *** 87,93 **** /* Whether or not to use semaphores directly rather than emulating them with * mutexes and condition variables: */ ! #ifdef _POSIX_SEMAPHORES # define USE_SEMAPHORES #else # undef USE_SEMAPHORES --- 87,93 ---- /* Whether or not to use semaphores directly rather than emulating them with * mutexes and condition variables: */ ! #if defined(_POSIX_SEMAPHORES) || defined(__CYGWIN__) # define USE_SEMAPHORES #else # undef USE_SEMAPHORES