summaryrefslogtreecommitdiffstats
path: root/xlib/X11
diff options
context:
space:
mode:
Diffstat (limited to 'xlib/X11')
-rw-r--r--xlib/X11/X.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlib/X11/X.h b/xlib/X11/X.h
index a7f6566..8b37559 100644
--- a/xlib/X11/X.h
+++ b/xlib/X11/X.h
@@ -40,7 +40,11 @@ SOFTWARE.
/* Resources */
+#ifdef _WIN64
+typedef __int64 XID;
+#else
typedef unsigned long XID;
+#endif
typedef XID Window;
typedef XID Drawable;