aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>2000-08-15 09:30:52 -0600
committerJeff Law <law@gcc.gnu.org>2000-08-15 09:30:52 -0600
commit1a67c7d389950a857abc91ccb72b09d615889dbf (patch)
tree6cba891e3dfcf8d260a8f0e2db9ccd88b71f653a /gcc
parent7c2720799c132883ff07e297c87e07cbed575787 (diff)
downloadgcc-1a67c7d389950a857abc91ccb72b09d615889dbf.zip
gcc-1a67c7d389950a857abc91ccb72b09d615889dbf.tar.gz
gcc-1a67c7d389950a857abc91ccb72b09d615889dbf.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/tm.texi20
1 files changed, 20 insertions, 0 deletions
diff --git a/gcc/tm.texi b/gcc/tm.texi
index b6b9316..9571c48 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