* gstddef.h (wchar_t): Always define as __WCHAR_TYPE__.
From-SVN: r6962
This commit is contained in:
parent
cf78b2a7bc
commit
3ff2f6ea9b
@ -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. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user