mirror of
https://github.com/encounter/SDL.git
synced 2025-12-11 06:27:44 +00:00
Don't use "exp" as a name so that it's doesn´t show up with searching for the function
This commit is contained in:
@@ -432,7 +432,7 @@ SDL_DINPUT_JoystickInit(void)
|
||||
static BOOL CALLBACK
|
||||
EnumJoystickDetectCallback(LPCDIDEVICEINSTANCE pDeviceInstance, LPVOID pContext)
|
||||
{
|
||||
#define CHECK(exp) { if(!(exp)) goto err; }
|
||||
#define CHECK(expression) { if(!(expression)) goto err; }
|
||||
JoyStick_DeviceData *pNewJoystick = NULL;
|
||||
JoyStick_DeviceData *pPrevJoystick = NULL;
|
||||
Uint16 *guid16;
|
||||
@@ -553,7 +553,7 @@ typedef struct
|
||||
static BOOL CALLBACK
|
||||
EnumJoystickPresentCallback(LPCDIDEVICEINSTANCE pDeviceInstance, LPVOID pContext)
|
||||
{
|
||||
#define CHECK(exp) { if(!(exp)) goto err; }
|
||||
#define CHECK(expression) { if(!(expression)) goto err; }
|
||||
Joystick_PresentData *pData = (Joystick_PresentData *)pContext;
|
||||
Uint16 vendor = 0;
|
||||
Uint16 product = 0;
|
||||
|
||||
@@ -679,7 +679,7 @@ RAWINPUT_DeviceFromHandle(HANDLE hDevice)
|
||||
static void
|
||||
RAWINPUT_AddDevice(HANDLE hDevice)
|
||||
{
|
||||
#define CHECK(exp) { if(!(exp)) goto err; }
|
||||
#define CHECK(expression) { if(!(expression)) goto err; }
|
||||
SDL_RAWINPUT_Device *device = NULL;
|
||||
SDL_RAWINPUT_Device *curr, *last;
|
||||
RID_DEVICE_INFO rdi;
|
||||
|
||||
Reference in New Issue
Block a user