Merge pull request #610 from armadsen/fix-ios-target-check
Fix failing #ifndef TARGET_OS_IPHONE check when building for macOS
This commit is contained in:
		@@ -31,7 +31,7 @@
 | 
				
			|||||||
#if defined(__APPLE__)
 | 
					#if defined(__APPLE__)
 | 
				
			||||||
#	include "AvailabilityMacros.h"
 | 
					#	include "AvailabilityMacros.h"
 | 
				
			||||||
#	include "TargetConditionals.h"
 | 
					#	include "TargetConditionals.h"
 | 
				
			||||||
#	ifndef TARGET_OS_IPHONE
 | 
					#	if !TARGET_OS_IPHONE
 | 
				
			||||||
#		undef __TIC_MACOSX__
 | 
					#		undef __TIC_MACOSX__
 | 
				
			||||||
#		define __TIC_MACOSX__ 1
 | 
					#		define __TIC_MACOSX__ 1
 | 
				
			||||||
#		if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
 | 
					#		if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
 | 
				
			||||||
@@ -78,4 +78,4 @@
 | 
				
			|||||||
#	else
 | 
					#	else
 | 
				
			||||||
#		define TIC80_API
 | 
					#		define TIC80_API
 | 
				
			||||||
#	endif
 | 
					#	endif
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user