From 634879c891f064bd93eeca377d7654d04c8ce936 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 2 Nov 2003 17:35:20 +0000 Subject: [PATCH] fde-glibc.c (_GNU_SOURCE): Define to 1 instead of empty to avoid conflict with the definition from configure. * config/ia64/fde-glibc.c (_GNU_SOURCE): Define to 1 instead of empty to avoid conflict with the definition from configure. From-SVN: r73202 --- gcc/ChangeLog | 5 +++++ gcc/config/ia64/fde-glibc.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 25dd9c1..4728a86 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-11-02 Andreas Schwab + + * config/ia64/fde-glibc.c (_GNU_SOURCE): Define to 1 instead of + empty to avoid conflict with the definition from configure. + 2003-11-02 Roger Sayle PR optimization/10817 diff --git a/gcc/config/ia64/fde-glibc.c b/gcc/config/ia64/fde-glibc.c index 8c9b55a..15e1927 100644 --- a/gcc/config/ia64/fde-glibc.c +++ b/gcc/config/ia64/fde-glibc.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2001 Free Software Foundation, Inc. +/* Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc. Contributed by Richard Henderson . This file is part of GCC. @@ -29,7 +29,7 @@ to avoid register/deregister calls at DSO load/unload. */ #ifndef _GNU_SOURCE -#define _GNU_SOURCE +#define _GNU_SOURCE 1 #endif #include "config.h" #include -- 2.7.4