aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-08-03 22:13:56 +0000
committerChris Lattner <sabre@nondot.org>2010-08-03 22:13:56 +0000
commit863e7189dc437ef0f35ff94d74f62c775759d2ce (patch)
treeb38321f73169ec1a8d535f07ef5db8096dca4bad /lib
parent059612dd3429cef2d61f11950f3d93a40182bf69 (diff)
add a hack for visual studio, fixing PR7796
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110161 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Headers/stddef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Headers/stddef.h b/lib/Headers/stddef.h
index b1d0d52874..fdd48159ba 100644
--- a/lib/Headers/stddef.h
+++ b/lib/Headers/stddef.h
@@ -40,6 +40,7 @@ typedef __typeof__(*L"") wchar_t;
#undef NULL
#ifdef __cplusplus
+#undef __null // VC++ hack.
#define NULL __null
#else
#define NULL ((void*)0)