Googletest export
Include TargetConditionals.h before checking TARGET_OS_IPHONE New versions of Clang require that you include TargetConditionals.h before checking the TARGET_OS_* macros. Include it where appropriate to keep the compiler happy. PiperOrigin-RevId: 345106443
This commit is contained in:
		@@ -68,6 +68,7 @@
 | 
			
		||||
# define GTEST_OS_OS2 1
 | 
			
		||||
#elif defined __APPLE__
 | 
			
		||||
# define GTEST_OS_MAC 1
 | 
			
		||||
# include <TargetConditionals.h>
 | 
			
		||||
# if TARGET_OS_IPHONE
 | 
			
		||||
#  define GTEST_OS_IOS 1
 | 
			
		||||
# endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user