summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2011-09-27 14:14:54 +0100
committerJosé Fonseca <jose.r.fonseca@gmail.com>2011-09-27 14:14:54 +0100
commit5f85548dcf7b16fe06d001ff82c889258772ef9d (patch)
treebd5642579c39b57c80c6fff8d2c98ad4b194d3bb
parentcf0447aaa12c0fbcc310f4a18c41d1648a1ac313 (diff)
Fix CGSConnectionID typedef.
-rw-r--r--glimports.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/glimports.hpp b/glimports.hpp
index dce248a..a24e20f 100644
--- a/glimports.hpp
+++ b/glimports.hpp
@@ -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;