From: Jason Merrill Date: Mon, 4 Apr 1994 21:21:02 +0000 (+0000) Subject: * gstddef.h (wchar_t): Always define as __WCHAR_TYPE__. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ff2f6ea9bca3cf98a822f87cdaf988d8e5f1888;p=gcc.git * gstddef.h (wchar_t): Always define as __WCHAR_TYPE__. From-SVN: r6962 --- diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h index 82adb942553..185ae38fc4d 100644 --- a/gcc/ginclude/stddef.h +++ b/gcc/ginclude/stddef.h @@ -172,12 +172,6 @@ typedef __SIZE_TYPE__ size_t; #ifndef __WCHAR_TYPE__ #define __WCHAR_TYPE__ int #endif -#ifdef __GNUG__ -/* In C++, wchar_t is a distinct basic type, - and we can expect __wchar_t to be defined by cc1plus. */ -typedef __wchar_t wchar_t; -#else -/* In C, cpp tells us which type to make an alias for. */ typedef __WCHAR_TYPE__ wchar_t; #endif #endif @@ -188,7 +182,6 @@ typedef __WCHAR_TYPE__ wchar_t; #endif #endif #endif -#endif #undef __need_wchar_t #endif /* _STDDEF_H or __need_wchar_t. */