Removed raw references to __APPLE__; now just check to see if it is defined.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@177297 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		@@ -181,7 +181,7 @@ template <class charT> class messages_byname;
 | 
			
		||||
#include <streambuf>
 | 
			
		||||
#include <iterator>
 | 
			
		||||
#include <limits>
 | 
			
		||||
#if !__APPLE__
 | 
			
		||||
#ifndef __APPLE__
 | 
			
		||||
#include <cstdarg>
 | 
			
		||||
#endif
 | 
			
		||||
#include <cstdlib>
 | 
			
		||||
@@ -192,7 +192,7 @@ template <class charT> class messages_byname;
 | 
			
		||||
#include <nl_types.h>
 | 
			
		||||
#endif  // !_WIN32
 | 
			
		||||
 | 
			
		||||
#if __APPLE__
 | 
			
		||||
#ifdef __APPLE__
 | 
			
		||||
#include <Availability.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
@@ -204,7 +204,7 @@ template <class charT> class messages_byname;
 | 
			
		||||
 | 
			
		||||
_LIBCPP_BEGIN_NAMESPACE_STD
 | 
			
		||||
 | 
			
		||||
#if __APPLE__ || __FreeBSD__
 | 
			
		||||
#if defined(__APPLE__) || __FreeBSD__
 | 
			
		||||
#  define _LIBCPP_GET_C_LOCALE 0
 | 
			
		||||
#else
 | 
			
		||||
#  define _LIBCPP_GET_C_LOCALE __cloc()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user