projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf78b2a
)
* gstddef.h (wchar_t): Always define as __WCHAR_TYPE__.
author
Jason Merrill
<merrill@gnu.org>
Mon, 4 Apr 1994 21:21:02 +0000
(21:21 +0000)
committer
Jason Merrill
<merrill@gnu.org>
Mon, 4 Apr 1994 21:21:02 +0000
(21:21 +0000)
From-SVN: r6962
gcc/ginclude/stddef.h
patch
|
blob
|
history
diff --git
a/gcc/ginclude/stddef.h
b/gcc/ginclude/stddef.h
index 82adb942553a4e356c7f9740577b850847382937..185ae38fc4de217003bc9d12104a7f63c86b7096 100644
(file)
--- 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. */