aboutsummaryrefslogtreecommitdiffstats
path: root/make/gl-common-x11.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/gl-common-x11.cfg')
-rw-r--r--make/gl-common-x11.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/make/gl-common-x11.cfg b/make/gl-common-x11.cfg
index 15154e363..dcaeac4f2 100644
--- a/make/gl-common-x11.cfg
+++ b/make/gl-common-x11.cfg
@@ -5,6 +5,9 @@ Include gl-common.cfg
JavaOutputDir ../build/gensrc/classes
NativeOutputDir ../build/gensrc/native/jogl
+# XID needs to be treated as a long for 32/64 bit compatibility
+Opaque long XID
+
# Get returned array's capacity from XGetVisualInfo to be correct
TemporaryCVariableDeclaration XGetVisualInfo int count;
TemporaryCVariableAssignment XGetVisualInfo count = _ptr3[0];