summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-09-21 21:24:31 (GMT)
committerhobbs <hobbs>2001-09-21 21:24:31 (GMT)
commit12236f9c2da01c87e26fb17daa3c516304639a7b (patch)
treeacb675ab5d6f7ed72c49c59965acea99376f6dc2
parentf0c92790e6966ffac3b81e55597e5486bccc5541 (diff)
downloadtk-12236f9c2da01c87e26fb17daa3c516304639a7b.zip
tk-12236f9c2da01c87e26fb17daa3c516304639a7b.tar.gz
tk-12236f9c2da01c87e26fb17daa3c516304639a7b.tar.bz2
made XID __int64 type for Win64
-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;