From 7b800edfc4f1ceab602d6d26b05d5b3ca59071b3 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Mon, 6 May 2024 07:29:26 +0000 Subject: Fix [ff5417505b]: xlib/X11/X.h not compilable on x64 Windows, using gcc --- xlib/X11/X.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v0.12