summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2013-04-03 13:55:16 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2014-03-13 20:33:45 +0000
commitaee7e4de57349db186ca9d8c1312dc18590d3942 (patch)
treeda81748c3278708b5d0f81fe9c8493407c41131e
parente5e2ed5b115107d1b1d5248ac5c5dda67e71ea50 (diff)
Xwindows.h: Wrap Windows 64-bit types as well for 64-bit build
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
-rw-r--r--Xwindows.h6
1 files changed, 6 insertions, 0 deletions
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