* unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Feb 2002 22:21:12 +0000 (22:21 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Feb 2002 22:21:12 +0000 (22:21 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49498 138bc75d-0d04-0410-961f-82ee72b054a4

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

index afd68d6..b16f06d 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 33c678f..94fe6d1 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