浏览代码

this is GNU source

Mike Frysinger 18 年之前
父节点
当前提交
3e73f8b907
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      libc/misc/pthread/no-tsd.c
  2. 1 0
      libc/misc/pthread/weaks.c

+ 1 - 0
libc/misc/pthread/no-tsd.c

@@ -17,6 +17,7 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#define _GNU_SOURCE
 #include <bits/libc-tsd.h>
 
 /* This file provides uinitialized (common) definitions for the

+ 1 - 0
libc/misc/pthread/weaks.c

@@ -17,6 +17,7 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#define _GNU_SOURCE
 #include <errno.h>
 #include <limits.h>
 #include <stdlib.h>