فهرست منبع

fix missing declarations for pthread_join extensions in source file

per policy, define the feature test macro to get declarations for the
pthread_tryjoin_np and pthread_timedjoin_np functions. in the past
this has been only for checking; with 32-bit archs getting 64-bit
time_t it will also be necessary for symbols to get redirected
correctly.
Rich Felker 5 سال پیش
والد
کامیت
3541925fb1
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      src/thread/pthread_join.c

+ 1 - 0
src/thread/pthread_join.c

@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
 #include "pthread_impl.h"
 #include "pthread_impl.h"
 #include <sys/mman.h>
 #include <sys/mman.h>