Browse Source

just define _GNU_SOURCE

Mike Frysinger 20 years ago
parent
commit
ea0cc5b36c

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

@@ -25,7 +25,7 @@
 
 
 /* Enable GNU extensions in fnmatch.h.  */
 /* Enable GNU extensions in fnmatch.h.  */
 #ifndef _GNU_SOURCE
 #ifndef _GNU_SOURCE
-# define _GNU_SOURCE	1
+# define _GNU_SOURCE
 #endif
 #endif
 
 
 #include <features.h>
 #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.  */
 /* Enable GNU extensions in fnmatch.h.  */
 #ifndef _GNU_SOURCE
 #ifndef _GNU_SOURCE
-# define _GNU_SOURCE	1
+# define _GNU_SOURCE
 #endif
 #endif
 
 
 #include <errno.h>
 #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,
 not, write to the Free Software Foundation, Inc., 675 Mass Ave,
 Cambridge, MA 02139, USA.  */
 Cambridge, MA 02139, USA.  */
 
 
-#define _GNU_SOURCE 1
+#define _GNU_SOURCE
 #include <sys/types.h>
 #include <sys/types.h>
 #include <link.h>
 #include <link.h>