From 8f923e38af8a1181ec928cf69687619af66c71a3 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Sat, 29 Oct 2011 00:38:03 +0200 Subject: [PATCH] include: Fix numeric constants in dinput.h for LLP64 compilers. Fixup for f334333cb56a23143f447f7b893f8de928d7091d. --- include/dinput.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/include/dinput.h b/include/dinput.h index bd9d8980b6e..353ec55ec46 100644 --- a/include/dinput.h +++ b/include/dinput.h @@ -167,20 +167,20 @@ DECL_WINELIB_TYPE_AW(LPDIRECTINPUTDEVICE8) #define DIERR_READONLY E_ACCESSDENIED #define DIERR_HANDLEEXISTS E_ACCESSDENIED #ifndef E_PENDING -#define E_PENDING 0x8000000A +#define E_PENDING __MSABI_LONG(0x8000000A) #endif -#define DIERR_INSUFFICIENTPRIVS 0x80040200 -#define DIERR_DEVICEFULL 0x80040201 -#define DIERR_MOREDATA 0x80040202 -#define DIERR_NOTDOWNLOADED 0x80040203 -#define DIERR_HASEFFECTS 0x80040204 -#define DIERR_NOTEXCLUSIVEACQUIRED 0x80040205 -#define DIERR_INCOMPLETEEFFECT 0x80040206 -#define DIERR_NOTBUFFERED 0x80040207 -#define DIERR_EFFECTPLAYING 0x80040208 -#define DIERR_UNPLUGGED 0x80040209 -#define DIERR_REPORTFULL 0x8004020A -#define DIERR_MAPFILEFAIL 0x8004020B +#define DIERR_INSUFFICIENTPRIVS __MSABI_LONG(0x80040200) +#define DIERR_DEVICEFULL __MSABI_LONG(0x80040201) +#define DIERR_MOREDATA __MSABI_LONG(0x80040202) +#define DIERR_NOTDOWNLOADED __MSABI_LONG(0x80040203) +#define DIERR_HASEFFECTS __MSABI_LONG(0x80040204) +#define DIERR_NOTEXCLUSIVEACQUIRED __MSABI_LONG(0x80040205) +#define DIERR_INCOMPLETEEFFECT __MSABI_LONG(0x80040206) +#define DIERR_NOTBUFFERED __MSABI_LONG(0x80040207) +#define DIERR_EFFECTPLAYING __MSABI_LONG(0x80040208) +#define DIERR_UNPLUGGED __MSABI_LONG(0x80040209) +#define DIERR_REPORTFULL __MSABI_LONG(0x8004020A) +#define DIERR_MAPFILEFAIL __MSABI_LONG(0x8004020B) #define DIENUM_STOP 0 #define DIENUM_CONTINUE 1