diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-02-27 23:56:24 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-02-27 23:56:24 +0000 |
commit | afecf2faee6e15a0f4c230acf718abdef3c96844 (patch) | |
tree | cb19f0b34deb41a6634cad45de087a72a54ecad6 /newlib/libc/stdio/vfprintf.c | |
parent | d1f50ae546b2b83a73b9e12f01a76eaba825c6e2 (diff) | |
download | cygnal-afecf2faee6e15a0f4c230acf718abdef3c96844.tar.gz cygnal-afecf2faee6e15a0f4c230acf718abdef3c96844.tar.bz2 cygnal-afecf2faee6e15a0f4c230acf718abdef3c96844.zip |
2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
* configure.host: Add check for --disable-newlib-io-float
configuration option and add -DNO_FLOATING_POINT to newlib cflags
if appropriate.
* acinclude.m4: Added --disable-newlib-io-float option.
* aclocal.m4: Regenerated.
* configure: Ditto.
* doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
* libc/*/aclocal.m4 libc/*/configure
* libm/*/aclocal.m4 libm/*/configure: Ditto.
* libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
if NO_FLOATING_POINT flag is not defined.
Diffstat (limited to 'newlib/libc/stdio/vfprintf.c')
-rw-r--r-- | newlib/libc/stdio/vfprintf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/stdio/vfprintf.c b/newlib/libc/stdio/vfprintf.c index f6bba4979..302b5aab9 100644 --- a/newlib/libc/stdio/vfprintf.c +++ b/newlib/libc/stdio/vfprintf.c @@ -150,8 +150,10 @@ static char *rcsid = "$Id$"; #else #define VFPRINTF vfprintf #define _VFPRINTF_R _vfprintf_r +#ifndef NO_FLOATING_POINT #define FLOATING_POINT #endif +#endif #define _NO_LONGLONG #if defined WANT_PRINTF_LONG_LONG && defined __GNUC__ |