aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2000-08-04 17:00:48 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2000-08-04 17:00:48 +0100
commitc5ab7f91109e1569bb63c38e2e35e701e5af17ec (patch)
tree8c20d31a5a3346141ee1d77b93b4c4c72c1ee29c /gcc/c-common.h
parentf1fe1ac0a83c665fb4826cc7667e32baef3ec93c (diff)
downloadgcc-c5ab7f91109e1569bb63c38e2e35e701e5af17ec.zip
gcc-c5ab7f91109e1569bb63c38e2e35e701e5af17ec.tar.gz
gcc-c5ab7f91109e1569bb63c38e2e35e701e5af17ec.tar.bz2
stddef.h: Don't declare wint_t unless __need_wint_t.
* ginclude/stddef.h: Don't declare wint_t unless __need_wint_t. * c-common.h (enum c_tree_index): Add CTI_WINT_TYPE. (wint_type_node): Define. * c-decl.c (WINT_TYPE): Define. (init_decl_processing): Create the wint_type_node type. * c-common.c (T_WI): Define. (print_char_table): Use T_WI for %lc format. From-SVN: r35481
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index a7675dd..c8a9569 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -91,6 +91,7 @@ enum c_tree_index
CTI_WCHAR_TYPE,
CTI_SIGNED_WCHAR_TYPE,
CTI_UNSIGNED_WCHAR_TYPE,
+ CTI_WINT_TYPE,
CTI_WIDEST_INT_LIT_TYPE,
CTI_WIDEST_UINT_LIT_TYPE,
@@ -122,6 +123,7 @@ enum c_tree_index
#define wchar_type_node c_global_trees[CTI_WCHAR_TYPE]
#define signed_wchar_type_node c_global_trees[CTI_SIGNED_WCHAR_TYPE]
#define unsigned_wchar_type_node c_global_trees[CTI_UNSIGNED_WCHAR_TYPE]
+#define wint_type_node c_global_trees[CTI_WINT_TYPE]
#define widest_integer_literal_type_node c_global_trees[CTI_WIDEST_INT_LIT_TYPE]
#define widest_unsigned_literal_type_node c_global_trees[CTI_WIDEST_UINT_LIT_TYPE]