From: John David Anglin Date: Mon, 4 Feb 2002 22:21:12 +0000 (+0000) Subject: * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=703b0080a480f7a675c37b5de5418ab34a82905d;p=gcc.git * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined. From-SVN: r49498 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index afd68d6fb02..b16f06d025d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-02-04 John David Anglin + + * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined. + 2002-02-04 Jakub Jelinek PR c/4475, c++/3780: 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