summaryrefslogtreecommitdiffstats
path: root/lib/Headers/stddef.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Headers/stddef.h')
-rw-r--r--lib/Headers/stddef.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Headers/stddef.h b/lib/Headers/stddef.h
index b1d0d52..84ec1a7 100644
--- a/lib/Headers/stddef.h
+++ b/lib/Headers/stddef.h
@@ -34,12 +34,13 @@ 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
#undef NULL
#ifdef __cplusplus
+#undef __null // VC++ hack.
#define NULL __null
#else
#define NULL ((void*)0)
OpenPOWER on IntegriCloud