Cross compiling for Xming.exe since Mesa merge

Colin Harrison colin.harrison at
Thu Aug 11 17:21:12 PDT 2005

Brian Paul wrote:
> That's not a good fix.  Near the top of that header is some messy 
> #ifdef code to determine which header file (if any) to include to get 
> int64_t.  Please see if you can fix the problem there without just 
> unconditionally including inttypes.h.

Better version, Xming specific:-

--- ./extras/Mesa/include/GL/save_glxext.h      2005-08-11
23:44:06.000000000 +0100
+++ ./extras/Mesa/include/GL/glxext.h   2005-08-11 23:51:36.000000000 +0100
@@ -347,6 +347,8 @@
 #include <inttypes.h>
 #elif defined(__SCO__) || defined(__USLC__)
 #include <stdint.h>
+#elif defined(WIN32) && defined(__GNUC__)
+#include <stdint.h>

 #ifndef GLX_VERSION_1_3

Colin Harrison

More information about the xorg mailing list