From 721a934c16ce3dd18c71f0afef7b4505a23b8c47 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 16 Aug 2004 17:09:31 +0000 Subject: [PATCH] 2004-08-16 Nathan Sidwell * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT #if. --- newlib/ChangeLog | 5 +++++ newlib/libc/stdio/vfscanf.c | 10 +++++----- 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 + + * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT + #if. + 2004-08-12 Jeff Johnston * 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. */