Explorar o código

Fixed typo in cherry-pick (thanks @HadesD!)

Sam Lantinga %!s(int64=2) %!d(string=hai) anos
pai
achega
dc94cca8dd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/joystick/hidapi/SDL_hidapi_xbox360.c

+ 1 - 1
src/joystick/hidapi/SDL_hidapi_xbox360.c

@@ -84,7 +84,7 @@ static SDL_bool HIDAPI_DriverXbox360_IsSupportedDevice(SDL_HIDAPI_Device *device
         /* This is the chatpad or other input interface, not the Xbox 360 interface */
         return SDL_FALSE;
     }
-#def __MACOSX__
+#ifdef __MACOSX__
     if (vendor_id == USB_VENDOR_MICROSOFT && product_id == USB_PRODUCT_XBOX360_WIRED_CONTROLLER && version == 1) {
         /* This is the Steam Virtual Gamepad, which isn't supported by this driver */
         return SDL_FALSE;