From: Chris Lattner Date: Tue, 3 Aug 2010 22:13:56 +0000 (+0000) Subject: add a hack for visual studio, fixing PR7796 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=863e7189dc437ef0f35ff94d74f62c775759d2ce;p=clang 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 --- 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)