Skip to content

Commit 0eaa619

Browse files
committed
Removed unnecessary __builtin_available check
1 parent ffe194c commit 0eaa619

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/joystick/apple/SDL_mfijoystick.m

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -727,16 +727,11 @@ static bool IOS_JoystickInit(void)
727727
}
728728

729729
#ifdef SDL_PLATFORM_MACOS
730-
#if SDL_HAS_BUILTIN(__builtin_available)
731730
if (@available(macOS 10.16, *)) {
732731
// Continue with initialization on macOS 11+
733732
} else {
734733
return true;
735734
}
736-
#else
737-
// No @available, must be an older macOS version
738-
return true;
739-
#endif
740735
#endif
741736

742737
@autoreleasepool {

0 commit comments

Comments
 (0)