comparison runtime/internal/monitor.c @ 563:394e72cbbb46

Ok. last fix was wrong, PTHREAD_MUTEX_RECURSIVE_NP is only valid on linux...
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Fri, 29 Aug 2008 16:59:12 +0200
parents fbc454d4ce80
children aa953cc960b6
comparison
equal deleted inserted replaced
560:fbc454d4ce80 563:394e72cbbb46
125 125
126 /* =============================== linux ============================ */ 126 /* =============================== linux ============================ */
127 127
128 #if USE_PTHREADS 128 #if USE_PTHREADS
129 129
130 #if __APPLE__ 130 #if !linux
131 #define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE 131 #define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
132 #endif 132 #endif
133 133
134 // Includes attribute fixes from David Friedman's GDC port 134 // Includes attribute fixes from David Friedman's GDC port
135 135