mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-15 02:09:19 +08:00
227e6ef6c3
* 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.
60 lines
1.4 KiB
Plaintext
60 lines
1.4 KiB
Plaintext
#ifndef __NEWLIB_H__
|
|
|
|
#define __NEWLIB_H__ 1
|
|
|
|
/* EL/IX level */
|
|
#undef _ELIX_LEVEL
|
|
|
|
/* 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
|
|
|
|
/* MB_LEN_MAX */
|
|
#undef _MB_LEN_MAX
|
|
|
|
/* ICONV enabled */
|
|
#undef _ICONV_ENABLED
|
|
|
|
/*
|
|
* ICONV converters enabled
|
|
*/
|
|
#undef _ICONV_CONVERTER_US_ASCII
|
|
#undef _ICONV_CONVERTER_BIG5
|
|
#undef _ICONV_CONVERTER_SHIFT_JIS
|
|
#undef _ICONV_CONVERTER_GB_2312_80
|
|
#undef _ICONV_CONVERTER_CP866
|
|
#undef _ICONV_CONVERTER_CP855
|
|
#undef _ICONV_CONVERTER_CP852
|
|
#undef _ICONV_CONVERTER_CP850
|
|
#undef _ICONV_CONVERTER_CP775
|
|
#undef _ICONV_CONVERTER_KOI8_U
|
|
#undef _ICONV_CONVERTER_KOI8_R
|
|
#undef _ICONV_CONVERTER_ISO_8859_1
|
|
#undef _ICONV_CONVERTER_ISO_8859_2
|
|
#undef _ICONV_CONVERTER_ISO_8859_4
|
|
#undef _ICONV_CONVERTER_ISO_8859_5
|
|
#undef _ICONV_CONVERTER_ISO_8859_15
|
|
#undef _ICONV_CONVERTER_EUC_JP
|
|
#undef _ICONV_CONVERTER_EUC_KR
|
|
#undef _ICONV_CONVERTER_EUC_TW
|
|
#undef _ICONV_CONVERTER_ISO_10646_UCS_2
|
|
#undef _ICONV_CONVERTER_ISO_10646_UCS_4
|
|
#undef _ICONV_CONVERTER_UCS_2_INTERNAL
|
|
#undef _ICONV_CONVERTER_UCS_4_INTERNAL
|
|
#undef _ICONV_CONVERTER_UTF_16
|
|
#undef _ICONV_CONVERTER_UTF_8
|
|
|
|
#endif /* !__NEWLIB_H__ */
|
|
|