evas gl - make GLintptr etc. also ndefed for GL_VERSION_1_5 fix typedef
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 15 Dec 2018 16:19:01 +0000 (16:19 +0000)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 18 Dec 2018 04:23:55 +0000 (13:23 +0900)
It seems that GL_VERSION_1_5 define == these provided by gl already. At
least reading the mesa headers I do, so this should fix T7502

@fix

src/lib/evas/Evas_GL.h

index a993fc9..4778e19 100755 (executable)
@@ -4476,9 +4476,11 @@ typedef khronos_uint64_t GLuint64;
 
 #ifndef GL_ES_VERSION_2_0
 /* GL types for handling large vertex buffer objects */
-#include <stddef.h>
+# ifndef GL_VERSION_1_5
+#  include <stddef.h>
 typedef ptrdiff_t GLintptr;     // Changed khronos_intptr_t
 typedef ptrdiff_t GLsizeiptr;   // Changed khronos_ssize_t
+# endif
 #endif
 
 /* Some definitions from GLES 3.0.