Fixed compile warning
authorSam Lantinga <slouken@libsdl.org>
Mon, 02 Mar 2020 09:46:37 -0800
changeset 13571b2b43ee5f1bf
parent 13570 bcbae957f9b1
child 13572 9d16201f3a3f
Fixed compile warning
src/joystick/hidapi/SDL_hidapi_xbox360.c
     1.1 --- a/src/joystick/hidapi/SDL_hidapi_xbox360.c	Mon Mar 02 09:35:12 2020 -0800
     1.2 +++ b/src/joystick/hidapi/SDL_hidapi_xbox360.c	Mon Mar 02 09:46:37 2020 -0800
     1.3 @@ -244,6 +244,7 @@
     1.4  
     1.5  #endif /* SDL_JOYSTICK_HIDAPI_WINDOWS_GAMING_INPUT */
     1.6  
     1.7 +#if defined(__MACOSX__)
     1.8  static SDL_bool
     1.9  IsBluetoothXboxOneController(Uint16 vendor_id, Uint16 product_id)
    1.10  {
    1.11 @@ -257,6 +258,7 @@
    1.12      }
    1.13      return SDL_FALSE;
    1.14  }
    1.15 +#endif
    1.16  
    1.17  static SDL_bool
    1.18  HIDAPI_DriverXbox360_IsSupportedDevice(const char *name, SDL_GameControllerType type, Uint16 vendor_id, Uint16 product_id, Uint16 version, int interface_number, int interface_class, int interface_subclass, int interface_protocol)