* unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Mon, 4 Feb 2002 22:21:12 +0000 (22:21 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Mon, 4 Feb 2002 22:21:12 +0000 (22:21 +0000)
From-SVN: r49498

gcc/ChangeLog
gcc/unwind-dw2-fde-glibc.c

index afd68d6fb02d2895a10a6ee95c6d11633d21375d..b16f06d025d05b2c736702389b5c64d22ffeace8 100644 (file)
@@ -1,3 +1,7 @@
+2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
+
 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
 
        PR c/4475, c++/3780:
index 33c678f705fae259b4beaf43043ac7c283dd0d7f..94fe6d1007897e3b160800083be0b2d1959f7236 100644 (file)
    segment and dl_iterate_phdr to avoid register/deregister calls at
    DSO load/unload.  */
 
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE 1
+#endif
+
 #include "auto-host.h" /* For HAVE_LD_EH_FRAME_HDR.  */
 #include "tconfig.h"
 #ifndef inhibit_libc