summaryrefslogtreecommitdiffstats
path: root/xlib
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2001-09-21 21:24:30 (GMT)
committerhobbs <hobbs@noemail.net>2001-09-21 21:24:30 (GMT)
commit24f3d71f7f363e1aa01327534381b0eba9bf0ecd (patch)
treeacb675ab5d6f7ed72c49c59965acea99376f6dc2 /xlib
parentf4b8c38d43dfcd6b6dec24e386d5ea20ce06eeda (diff)
downloadtk-24f3d71f7f363e1aa01327534381b0eba9bf0ecd.zip
tk-24f3d71f7f363e1aa01327534381b0eba9bf0ecd.tar.gz
tk-24f3d71f7f363e1aa01327534381b0eba9bf0ecd.tar.bz2
made XID __int64 type for Win64
FossilOrigin-Name: ba58d6e4910236f73501b39d63349b54426665c4
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;