summaryrefslogtreecommitdiffstats
path: root/xlib
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-09-21 21:24:31 (GMT)
committerhobbs <hobbs>2001-09-21 21:24:31 (GMT)
commit1b5cf55377753ab2bcbbb6be32cb5c2a048ead90 (patch)
treeacb675ab5d6f7ed72c49c59965acea99376f6dc2 /xlib
parentfa82cf37b25f48a5451e097db51306c978ed2e01 (diff)
downloadtk-1b5cf55377753ab2bcbbb6be32cb5c2a048ead90.zip
tk-1b5cf55377753ab2bcbbb6be32cb5c2a048ead90.tar.gz
tk-1b5cf55377753ab2bcbbb6be32cb5c2a048ead90.tar.bz2
made XID __int64 type for Win64
Diffstat (limited to 'xlib')
-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;