summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.h b/thread.h
index dafaa1ea68..22373e6c54 100644
--- a/thread.h
+++ b/thread.h
@@ -40,7 +40,7 @@
# endif
#endif
-#ifdef PTHREAD_CREATE_JOINABLE
+#ifdef PTHREADS_CREATED_JOINABLE
# define ATTR_JOINABLE PTHREAD_CREATE_JOINABLE
#else
# ifdef PTHREAD_CREATE_UNDETACHED