summaryrefslogtreecommitdiff
path: root/gcc/unwind-dw2-fde-glibc.c
diff options
context:
space:
mode:
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-04 22:21:12 +0000
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-04 22:21:12 +0000
commit8f248ced2a4b3bbd89bc8333ad9922a8f65b02d0 (patch)
tree76a4b835659dd88835d57b3b243a2b6cdfe8cc74 /gcc/unwind-dw2-fde-glibc.c
parent79dc3b8eebe13e6e2cd6d8813aeaaa4171e307b2 (diff)
downloadgcc-8f248ced2a4b3bbd89bc8333ad9922a8f65b02d0.tar.gz
* unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49498 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/unwind-dw2-fde-glibc.c')
-rw-r--r--gcc/unwind-dw2-fde-glibc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/unwind-dw2-fde-glibc.c b/gcc/unwind-dw2-fde-glibc.c
index 33c678f705f..94fe6d10078 100644
--- a/gcc/unwind-dw2-fde-glibc.c
+++ b/gcc/unwind-dw2-fde-glibc.c
@@ -29,6 +29,10 @@
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