Fix abortion if killing signals are re-used.
[vlc.git] / include / vlc_threads.h
index 20a5e78..cc62078 100644 (file)
@@ -56,6 +56,7 @@
 
 #elif defined( PTHREAD_COND_T_IN_PTHREAD_H )  /* pthreads (like Linux & BSD) */
 #   define LIBVLC_USE_PTHREAD 1
+#   define _APPLE_C_SOURCE    1 /* Proper pthread semantics on OSX */
 
 #   include <pthread.h>
 #   ifdef DEBUG