aboutsummaryrefslogtreecommitdiff
path: root/gcc/ginclude
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/ginclude
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/ginclude')
-rw-r--r--gcc/ginclude/stddef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h
index a964410..661d95d 100644
--- a/gcc/ginclude/stddef.h
+++ b/gcc/ginclude/stddef.h
@@ -302,7 +302,7 @@ typedef __WCHAR_TYPE__ wchar_t;
#undef __need_wchar_t
#endif /* _STDDEF_H or __need_wchar_t. */
-#if defined (_STDDEF_H) || defined (__need_wint_t)
+#if defined (__need_wint_t)
#ifndef _WINT_T
#define _WINT_T