Fix -Wundef warnings in iOS build
Make sure <Availability.h> is always included in macOS/iOS build.
This commit is contained in:
parent
8b0decdf9d
commit
8fe396d890
@ -415,6 +415,7 @@
|
||||
#ifdef __WXOSX__
|
||||
/* setup precise defines according to sdk used */
|
||||
# include <TargetConditionals.h>
|
||||
# include <Availability.h>
|
||||
# if defined(__WXOSX_IPHONE__)
|
||||
# if !( defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE )
|
||||
# error "incorrect SDK for an iPhone build"
|
||||
|
Loading…
Reference in New Issue
Block a user