forked from OSchip/llvm-project
add a hack for visual studio, fixing PR7796
llvm-svn: 110161
This commit is contained in:
parent
fee57bb464
commit
38321174e0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue