forked from OSchip/llvm-project
Revert "[lib/Headers] Define NULL as __DARWIN_NULL when on __APPLE__."
Per feedback by Doug, we should avoid platform-specific implementations in lib/Headers as much as possible. This reverts commit r178110. llvm-svn: 178181
This commit is contained in:
parent
37714b8a48
commit
95aa0b77f2
|
@ -53,9 +53,7 @@ typedef __WCHAR_TYPE__ wchar_t;
|
|||
#endif
|
||||
|
||||
#undef NULL
|
||||
#if defined(__APPLE__) && defined(__DARWIN_NULL)
|
||||
# define NULL __DARWIN_NULL
|
||||
#elif defined(__cplusplus)
|
||||
#ifdef __cplusplus
|
||||
# if !defined(__MINGW32__) && !defined(_MSC_VER)
|
||||
# define NULL __null
|
||||
# else
|
||||
|
|
Loading…
Reference in New Issue