aboutsummaryrefslogtreecommitdiff
path: root/libiberty/floatformat.c
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2015-06-24 21:43:02 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2015-06-24 21:43:02 +0200
commitf91ca6bc00c1e3c70c1d2f4527d4297b76e2eaca (patch)
tree2cf0506c54b3ed4693dc47cb502088ed5c27a09f /libiberty/floatformat.c
parent59cab532835904f368b0aa99267afba5fda5ded2 (diff)
downloadgdb-f91ca6bc00c1e3c70c1d2f4527d4297b76e2eaca.zip
gdb-f91ca6bc00c1e3c70c1d2f4527d4297b76e2eaca.tar.gz
gdb-f91ca6bc00c1e3c70c1d2f4527d4297b76e2eaca.tar.bz2
Sync libiberty from GCC, replaying updates to configure scripts
Diffstat (limited to 'libiberty/floatformat.c')
-rw-r--r--libiberty/floatformat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libiberty/floatformat.c b/libiberty/floatformat.c
index 789fa05..9190e14 100644
--- a/libiberty/floatformat.c
+++ b/libiberty/floatformat.c
@@ -1,5 +1,5 @@
/* IEEE floating point support routines, for GDB, the GNU Debugger.
- Copyright 1991, 1994, 1999, 2000, 2003, 2005, 2006, 2010, 2012
+ Copyright 1991, 1994, 1999, 2000, 2003, 2005, 2006, 2010, 2012, 2015
Free Software Foundation, Inc.
This file is part of GDB.
@@ -19,7 +19,9 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
/* This is needed to pick up the NAN macro on some systems. */
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
#ifdef HAVE_CONFIG_H
#include "config.h"