Commit 3ff2f6ea by Jason Merrill

* gstddef.h (wchar_t): Always define as __WCHAR_TYPE__.

From-SVN: r6962
parent cf78b2a7
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment