summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/stdio/vfscanf.c10
2 files changed, 10 insertions, 5 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 6f224f2b8..066347acb 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
+
+ * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
+ #if.
+
2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/sys/types.h (u64): New typedef to allow building
diff --git a/newlib/libc/stdio/vfscanf.c b/newlib/libc/stdio/vfscanf.c
index 5e92febed..76561fe4a 100644
--- a/newlib/libc/stdio/vfscanf.c
+++ b/newlib/libc/stdio/vfscanf.c
@@ -135,11 +135,6 @@ Supporting OS subroutines required:
extern _LONG_DOUBLE _strtold _PARAMS((char *s, char **sptr));
#endif
-#define _NO_LONGLONG
-#if defined _WANT_IO_LONG_LONG && defined __GNUC__
-# undef _NO_LONGLONG
-#endif
-
#include "floatio.h"
#if ((MAXEXP+MAXFRACT+3) > MB_LEN_MAX)
@@ -155,6 +150,11 @@ extern _LONG_DOUBLE _strtold _PARAMS((char *s, char **sptr));
#define BUF 40
#endif
+#define _NO_LONGLONG
+#if defined _WANT_IO_LONG_LONG && defined __GNUC__
+# undef _NO_LONGLONG
+#endif
+
/*
* Flags used during conversion.
*/