commit | ee8df8f1678de51cfc38014c61dc0624805bbe0a | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Sep 05 23:29:49 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Sep 05 23:29:49 2010 +0000 |
tree | 9071b15f93f444d74a3a349db31b17b8d6ccdf8c | |
parent | 2ba828f36ddad474c984992bde793211746ba8c8 [diff] [blame] |
fix PR7192 by defining wchar_t in a more conventional way. The type of L"x" can change based on command line arguments. llvm-svn: 113127
diff --git a/clang/lib/Headers/stddef.h b/clang/lib/Headers/stddef.h index fdd4815..84ec1a7 100644 --- a/clang/lib/Headers/stddef.h +++ b/clang/lib/Headers/stddef.h
@@ -34,7 +34,7 @@ #ifndef __cplusplus #ifndef _WCHAR_T #define _WCHAR_T -typedef __typeof__(*L"") wchar_t; +typedef __WCHAR_TYPE__ wchar_t; #endif #endif