Fixed bug 3168 - xinput build failure with dxsdk
authorSam Lantinga <slouken@libsdl.org>
Mon, 16 Nov 2015 21:20:38 -0800
changeset 9919ac5490d5aefc
parent 9918 31b7adf67756
child 9920 183936dd34d5
Fixed bug 3168 - xinput build failure with dxsdk

Ozkan Sezer

Yes, the annotations can actually be removed. They are used only by MSVC and aren't vital.
src/core/windows/SDL_xinput.h
     1.1 --- a/src/core/windows/SDL_xinput.h	Sat Nov 14 21:29:14 2015 -0500
     1.2 +++ b/src/core/windows/SDL_xinput.h	Mon Nov 16 21:20:38 2015 -0800
     1.3 @@ -146,9 +146,9 @@
     1.4  
     1.5  typedef DWORD (WINAPI *XInputGetBatteryInformation_t)
     1.6      (
     1.7 -    _In_  DWORD                         dwUserIndex,
     1.8 -    _In_  BYTE                          devType,
     1.9 -    _Out_ XINPUT_BATTERY_INFORMATION_EX *pBatteryInformation
    1.10 +    DWORD                         dwUserIndex,
    1.11 +    BYTE                          devType,
    1.12 +    XINPUT_BATTERY_INFORMATION_EX *pBatteryInformation
    1.13      );
    1.14  
    1.15  extern int WIN_LoadXInputDLL(void);