--- src/OpenGl/glext.h.orig 2018-05-29 03:14:02.000000000 -0700 +++ src/OpenGl/glext.h 2018-06-27 11:16:57.000000000 -0700 @@ -465,8 +465,8 @@ #ifndef GL_VERSION_1_5 #define GL_VERSION_1_5 1 #include <stddef.h> -typedef ptrdiff_t GLsizeiptr; -typedef ptrdiff_t GLintptr; +typedef intptr_t GLsizeiptr; +typedef intptr_t GLintptr; #define GL_BUFFER_SIZE 0x8764 #define GL_BUFFER_USAGE 0x8765 #define GL_QUERY_COUNTER_BITS 0x8864 @@ -4478,8 +4478,8 @@ #ifndef GL_ARB_vertex_buffer_object #define GL_ARB_vertex_buffer_object 1 -typedef ptrdiff_t GLsizeiptrARB; -typedef ptrdiff_t GLintptrARB; +typedef intptr_t GLsizeiptrARB; +typedef intptr_t GLintptrARB; #define GL_BUFFER_SIZE_ARB 0x8764 #define GL_BUFFER_USAGE_ARB 0x8765 #define GL_ARRAY_BUFFER_ARB 0x8892