From 1a67c7d389950a857abc91ccb72b09d615889dbf Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 15 Aug 2000 09:30:52 -0600 Subject: [PATCH] cppdefault.h (WINT_TYPE): Define. * cppdefault.h (WINT_TYPE): Define. * cppinit.c (builtin_array): Define __WINT_TYPE__. * tradcpp.c (initialize_builtins): Define __WINT_TYPE__. * tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document. Almost done. From-SVN: r35719 --- gcc/tm.texi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gcc/tm.texi b/gcc/tm.texi index b6b93160223..9571c480de8 100644 --- a/gcc/tm.texi +++ b/gcc/tm.texi @@ -138,6 +138,16 @@ This should be defined if @code{WCHAR_TYPE} depends on target dependent flags which are not accessible to the preprocessor. Otherwise, it should not be defined. +@findex NO_BUILTIN_WINT_TYPE +@item NO_BUILTIN_WINT_TYPE +If this macro is defined, the preprocessor will not define the builtin macro +@code{__WINT_TYPE__}. The macro @code{__WINT_TYPE__} must then be +defined by @code{CPP_SPEC} instead. + +This should be defined if @code{WINT_TYPE} depends on target dependent flags +which are not accessible to the preprocessor. Otherwise, it should not +be defined. + @findex SIGNED_CHAR_SPEC @item SIGNED_CHAR_SPEC A C string constant that tells the GCC driver program options to @@ -1285,6 +1295,16 @@ characters. If this is undefined, the default is largest value that @code{WCHAR_TYPE_SIZE} can have at run-time. This is used in @code{cpp}. +@findex WINT_TYPE +@item WINT_TYPE +A C expression for a string describing the name of the data type to +use for wide characters passed to @code{printf} and returned from +@code{getwc}. The typedef name @code{wint_t} is defined using the +contents of the string. See @code{SIZE_TYPE} above for more +information. + +If you don't define this macro, the default is @code{"unsigned int"}. + @findex OBJC_INT_SELECTORS @item OBJC_INT_SELECTORS Define this macro if the type of Objective C selectors should be -- 2.30.2