From 227e6ef6c377fb56e871282d3afa2b2454d0e861 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 26 May 2004 00:19:14 +0000 Subject: 2004-05-25 Artem B. Bityuckiy * newlib.hin: (_WANT_IO_POS_ARGS): New define. (_WANT_IO_LONG_LONG): Ditto. (_WANT_IO_LONG_DOUBLE): Ditto. * configure.in: Add new configuration options --enable-newlib-io-long-long and --enable-newlib-io-long-double which tie to new defines in newlib.hin. * configure: Regenerated. * configure.host: Add checks for new configuration options. Also fix up check for --enable-newlib-io-pos-args so configuration option will override any default for a given platform. Remove defining compiler flags for the _WANT_IO* options. * libc/stdio/vfprintf.c: Change to use new newlib.hin defines instead of looking for old compiler flags. * libc/stdio/vfscanf.c: Ditto. * libc/stdio/vfieeefp.h: Ditto. * libc/machine/powerpc/vfprintf.c: Ditto. * libc/machine/powerpc/vfscanf.c: Ditto. --- newlib/newlib.hin | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'newlib/newlib.hin') diff --git a/newlib/newlib.hin b/newlib/newlib.hin index dfdf198e2..bb0e2d75a 100644 --- a/newlib/newlib.hin +++ b/newlib/newlib.hin @@ -8,6 +8,15 @@ /* Newlib version */ #undef _NEWLIB_VERSION +/* long long type support in IO functions like printf/scanf enabled */ +#undef _WANT_IO_LONG_LONG + +/* long double type support in IO functions like printf/scanf enabled */ +#undef _WANT_IO_LONG_DOUBLE + +/* Positional argument support in printf functions enabled. */ +#undef _WANT_IO_POS_ARGS + /* Multibyte supported */ #undef _MB_CAPABLE -- cgit v1.2.3