From 8aab2bc260f2429bbe71bb366e2d39e573864098 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Fri, 18 May 2007 14:33:30 +0000 Subject: * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc compilers. * libc/stdio/vfscanf.c: Likewise. --- newlib/libc/stdio/vfprintf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'newlib/libc/stdio/vfprintf.c') diff --git a/newlib/libc/stdio/vfprintf.c b/newlib/libc/stdio/vfprintf.c index 5305840bb..72bd7e89e 100644 --- a/newlib/libc/stdio/vfprintf.c +++ b/newlib/libc/stdio/vfprintf.c @@ -153,7 +153,8 @@ static char *rcsid = "$Id$"; #endif #define _NO_LONGLONG -#if defined _WANT_IO_LONG_LONG && defined __GNUC__ +#if defined _WANT_IO_LONG_LONG \ + && (defined __GNUC__ || __STDC_VERSION__ >= 199901L) # undef _NO_LONGLONG #endif -- cgit v1.2.3