summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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