Skip to content

Commit 98d8d95

Browse files
committed
Fix -Wundef warning for TARGET_OS_IOS on older Apple SDKs
1 parent 39a50f4 commit 98d8d95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/public/minbase/minbase_identify.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
#if TARGET_OS_TV
168168
#define IsTVOS() true
169169
#define IsPosix() true
170-
#elif TARGET_OS_IOS
170+
#elif defined(TARGET_OS_IOS) && TARGET_OS_IOS
171171
#define IsIOS() true
172172
#define IsPosix() true
173173
#else

0 commit comments

Comments
 (0)