comparison runtime/internal/critical.c @ 558:02fb65cddc3e

Merge rest of patch from #72.
author Christian Kamm <kamm incasoftware de>
date Fri, 29 Aug 2008 14:48:40 +0200
parents 44f08170f4ef
children fbc454d4ce80
comparison
equal deleted inserted replaced
557:aef77ae1d32c 558:02fb65cddc3e
73 73
74 #endif 74 #endif
75 75
76 /* ================================= linux ============================ */ 76 /* ================================= linux ============================ */
77 77
78 #if linux 78 #if linux || __APPLE__
79 79
80 #include <stdio.h> 80 #include <stdio.h>
81 #include <stdlib.h> 81 #include <stdlib.h>
82 #include <pthread.h> 82 #include <pthread.h>
83
84 #ifndef HAVE_PTHREAD_MUTEX_RECURSIVE
85 #define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
86 #endif
83 87
84 /****************************************** 88 /******************************************
85 * Enter/exit critical section. 89 * Enter/exit critical section.
86 */ 90 */
87 91