summaryrefslogtreecommitdiffstats
path: root/gfx/gl/GLTypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gl/GLTypes.h')
-rw-r--r--gfx/gl/GLTypes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gfx/gl/GLTypes.h b/gfx/gl/GLTypes.h
index f5b317b4b7..6caa1cc623 100644
--- a/gfx/gl/GLTypes.h
+++ b/gfx/gl/GLTypes.h
@@ -55,6 +55,13 @@ typedef signed long int GLsizeiptr;
#endif /* #if !defined(__gltypes_h_) && !defined(__gl_h_) */
+#ifdef XP_IOS
+# ifndef GLdouble_defined
+typedef double GLdouble;
+# endif
+typedef double GLclampd;
+#endif
+
#include <stdint.h>
// ARB_sync