
Add CMake test for PTHREAD_MUTEX_RECURSIVE Add autoconf/configure compile test for PTHREAD_MUTEX_RECURSIVE Replace "#ifdef PTHREAD_MUTEX_RECURSIVE" with "#ifdef HAVE_PTHREAD_MUTEX_RECURSIVE" and define HAVE_PTHREAD_MUTEX_RECURSIVE in config.h
8 lines
134 B
C
8 lines
134 B
C
/*
|
|
FLTK feature test: do we have PTHREAD_MUTEX_RECURSIVE ?
|
|
*/
|
|
#include <pthread.h>
|
|
int main() {
|
|
return PTHREAD_MUTEX_RECURSIVE;
|
|
}
|