From aee7e4de57349db186ca9d8c1312dc18590d3942 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Wed, 3 Apr 2013 13:55:16 +0100 Subject: Xwindows.h: Wrap Windows 64-bit types as well for 64-bit build Signed-off-by: Yaakov Selkowitz Reviewed-by: Jon TURNEY --- Xwindows.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Xwindows.h b/Xwindows.h index e6be6ee..70e1deb 100644 --- a/Xwindows.h +++ b/Xwindows.h @@ -63,6 +63,10 @@ The Open Group. #define _NO_BOOL_TYPEDEF #define BOOL WINBOOL #define INT32 wINT32 +#ifdef __x86_64__ +#define INT64 wINT64 +#define LONG64 wLONG64 +#endif #undef Status #define Status wStatus #define ATOM wATOM @@ -75,6 +79,8 @@ The Open Group. #undef BYTE #undef BOOL #undef INT32 +#undef INT64 +#undef LONG64 #undef ATOM #undef FreeResource #undef CreateWindowA -- cgit v1.2.3