From 863e7189dc437ef0f35ff94d74f62c775759d2ce Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 3 Aug 2010 22:13:56 +0000 Subject: [PATCH] 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 --- lib/Headers/stddef.h | 1 + 1 file changed, 1 insertion(+) 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) -- 2.40.0