]> git.cworth.org Git - apitrace/blobdiff - glimports.hpp
Fix CGSConnectionID typedef.
[apitrace] / glimports.hpp
index dce248a2649bc87caf721f2d7db8243595871c2f..a24e20f139db217824e891542a88202a01240e0a 100644 (file)
@@ -100,7 +100,8 @@ typedef struct _WGLSWAP
 
 extern "C" {
 
-typedef int CGSConnectionID;
+// From http://www.opensource.apple.com/source/gdb/gdb-954/libcheckpoint/cpcg.c
+typedef void * CGSConnectionID;
 typedef int CGSWindowID;
 typedef int CGSSurfaceID;