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:
Argyrios Kyrtzidis 2013-03-27 21:22:45 +00:00
parent 37714b8a48
commit 95aa0b77f2
1 changed files with 1 additions and 3 deletions

View File

@ -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