Index: ppapi/c/ppb_opengles2.h |
diff --git a/ppapi/c/ppb_opengles2.h b/ppapi/c/ppb_opengles2.h |
index fbfe846823b5c2d1a0b8b060b3e13d6bd97eb275..62aca249435ba24e71ce4f63f43dd6895c497079 100644 |
--- a/ppapi/c/ppb_opengles2.h |
+++ b/ppapi/c/ppb_opengles2.h |
@@ -15,9 +15,7 @@ |
#ifndef __gl2_h_ |
typedef unsigned int GLenum; |
typedef void GLvoid; |
-typedef long int GLintptr; |
typedef int GLsizei; |
-typedef long int GLsizeiptr; |
typedef int GLint; |
typedef unsigned char GLboolean; |
typedef unsigned int GLuint; |
@@ -30,6 +28,13 @@ typedef unsigned char GLubyte; |
typedef int GLfixed; |
typedef unsigned short GLushort; |
typedef int GLclampx; |
+#ifdef _WIN64 |
+typedef long long int GLintptr; |
+typedef long long int GLsizeiptr; |
+#else |
+typedef long int GLintptr; |
+typedef long int GLsizeiptr; |
+#endif // _WIN64 |
#endif // __gl2_h_ |
#define PPB_OPENGLES2_INTERFACE_1_0 "PPB_OpenGLES2;1.0" |