[cfe-commits] r110161 - /cfe/trunk/lib/Headers/stddef.h
Chris Lattner
sabre at nondot.org
Tue Aug 3 15:13:56 PDT 2010
Author: lattner
Date: Tue Aug 3 17:13:56 2010
New Revision: 110161
URL: http://llvm.org/viewvc/llvm-project?rev=110161&view=rev
Log:
add a hack for visual studio, fixing PR7796
Modified:
cfe/trunk/lib/Headers/stddef.h
Modified: cfe/trunk/lib/Headers/stddef.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/stddef.h?rev=110161&r1=110160&r2=110161&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/stddef.h (original)
+++ cfe/trunk/lib/Headers/stddef.h Tue Aug 3 17:13:56 2010
@@ -40,6 +40,7 @@
#undef NULL
#ifdef __cplusplus
+#undef __null // VC++ hack.
#define NULL __null
#else
#define NULL ((void*)0)
More information about the cfe-commits
mailing list