This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Another ia64 warning fix
- From: Andreas Schwab <schwab at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 02 Nov 2003 18:35:22 +0100
- Subject: Another ia64 warning fix
_GNU_SOURCE may also be defined by configure, in a different way.
Committed.
Andreas.
2003-11-02 Andreas Schwab <schwab@suse.de>
* config/ia64/fde-glibc.c (_GNU_SOURCE): Define to 1 instead of
empty to avoid conflict with the definition from configure.
--- gcc/config/ia64/fde-glibc.c.~1.7.~ 2003-03-14 09:34:46.000000000 +0100
+++ gcc/config/ia64/fde-glibc.c 2003-11-02 18:34:07.000000000 +0100
@@ -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 <rth@cygnus.com>.
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 <stddef.h>
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."