From 0eaa6197c52d82a8f9243e67e741c6961b63d644 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 14 Jan 2025 16:28:54 -0800 Subject: [PATCH] Removed unnecessary __builtin_available check --- src/joystick/apple/SDL_mfijoystick.m | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/joystick/apple/SDL_mfijoystick.m b/src/joystick/apple/SDL_mfijoystick.m index 996bc33f78..23d6b23f80 100644 --- a/src/joystick/apple/SDL_mfijoystick.m +++ b/src/joystick/apple/SDL_mfijoystick.m @@ -727,16 +727,11 @@ static bool IOS_JoystickInit(void) } #ifdef SDL_PLATFORM_MACOS -#if SDL_HAS_BUILTIN(__builtin_available) if (@available(macOS 10.16, *)) { // Continue with initialization on macOS 11+ } else { return true; } -#else - // No @available, must be an older macOS version - return true; -#endif #endif @autoreleasepool {