diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-05 23:29:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-05 23:29:49 +0000 |
commit | ee8df8f1678de51cfc38014c61dc0624805bbe0a (patch) | |
tree | 9071b15f93f444d74a3a349db31b17b8d6ccdf8c /clang/lib/Headers/stddef.h | |
parent | 2ba828f36ddad474c984992bde793211746ba8c8 (diff) | |
download | bcm5719-llvm-ee8df8f1678de51cfc38014c61dc0624805bbe0a.tar.gz bcm5719-llvm-ee8df8f1678de51cfc38014c61dc0624805bbe0a.zip |
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
Diffstat (limited to 'clang/lib/Headers/stddef.h')
-rw-r--r-- | clang/lib/Headers/stddef.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Headers/stddef.h b/clang/lib/Headers/stddef.h index fdd48159bab..84ec1a7b4e2 100644 --- a/clang/lib/Headers/stddef.h +++ b/clang/lib/Headers/stddef.h @@ -34,7 +34,7 @@ typedef __typeof__(sizeof(int)) size_t; #ifndef __cplusplus #ifndef _WCHAR_T #define _WCHAR_T -typedef __typeof__(*L"") wchar_t; +typedef __WCHAR_TYPE__ wchar_t; #endif #endif |