浏览代码

just define _GNU_SOURCE

Mike Frysinger 20 年之前
父节点
当前提交
ea0cc5b36c
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      libc/misc/fnmatch/fnmatch.c
  2. 1 1
      libc/misc/fnmatch/fnmatch_old.c
  3. 1 1
      libc/sysdeps/linux/frv/crtreloc.c

+ 1 - 1
libc/misc/fnmatch/fnmatch.c

@@ -25,7 +25,7 @@
 
 /* Enable GNU extensions in fnmatch.h.  */
 #ifndef _GNU_SOURCE
-# define _GNU_SOURCE	1
+# define _GNU_SOURCE
 #endif
 
 #include <features.h>

+ 1 - 1
libc/misc/fnmatch/fnmatch_old.c

@@ -21,7 +21,7 @@ Cambridge, MA 02139, USA.  */
 
 /* Enable GNU extensions in fnmatch.h.  */
 #ifndef _GNU_SOURCE
-# define _GNU_SOURCE	1
+# define _GNU_SOURCE
 #endif
 
 #include <errno.h>

+ 1 - 1
libc/sysdeps/linux/frv/crtreloc.c

@@ -26,7 +26,7 @@ License along with the GNU C Library; see the file COPYING.LIB.  If
 not, write to the Free Software Foundation, Inc., 675 Mass Ave,
 Cambridge, MA 02139, USA.  */
 
-#define _GNU_SOURCE 1
+#define _GNU_SOURCE
 #include <sys/types.h>
 #include <link.h>