summaryrefslogtreecommitdiffstats
path: root/xlib
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-06 07:29:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-06 07:29:26 (GMT)
commit7b800edfc4f1ceab602d6d26b05d5b3ca59071b3 (patch)
tree1eacd137d69879407c84cedbb7a10380d7a40657 /xlib
parent27f50829212bbb4d1bc9f8171d9ca2f69ea00a8e (diff)
downloadtk-7b800edfc4f1ceab602d6d26b05d5b3ca59071b3.zip
tk-7b800edfc4f1ceab602d6d26b05d5b3ca59071b3.tar.gz
tk-7b800edfc4f1ceab602d6d26b05d5b3ca59071b3.tar.bz2
Fix [ff5417505b]: xlib/X11/X.h not compilable on x64 Windows, using gcc
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 3e1153f..9467c26 100644
--- a/xlib/X11/X.h
+++ b/xlib/X11/X.h
@@ -69,7 +69,11 @@ SOFTWARE.
# ifndef _XTYPEDEF_XID
# define _XTYPEDEF_XID
# ifdef _WIN64
+# ifdef _MSC_VER
typedef unsigned __int64 XID;
+# else
+typedef unsigned long long XID;
+# endif
# else
typedef unsigned long XID;
# endif