diff options
Diffstat (limited to 'tests/glthread/thread.h')
-rw-r--r-- | tests/glthread/thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/glthread/thread.h b/tests/glthread/thread.h index 8bc857f..1e266bd 100644 --- a/tests/glthread/thread.h +++ b/tests/glthread/thread.h @@ -149,8 +149,8 @@ extern int glthread_in_use (void); # endif # if !PTHREAD_IN_USE_DETECTION_HARD -# pragma weak pthread_cancel -# define pthread_in_use() (pthread_cancel != NULL) +# pragma weak pthread_mutexattr_gettype +# define pthread_in_use() (pthread_mutexattr_gettype != NULL) # endif # else |