From 85dd30ca3e86569dd997a44d59d49af3bfe79f3d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 3 Nov 2016 16:35:04 +0100 Subject: [PATCH] (Android) Issues with ABI target version 9 - just do ugly preprocessor hacks instead --- libretro-common/include/glsym/glsym_es2.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/libretro-common/include/glsym/glsym_es2.h b/libretro-common/include/glsym/glsym_es2.h index 8712636ab8..0b91d7936e 100644 --- a/libretro-common/include/glsym/glsym_es2.h +++ b/libretro-common/include/glsym/glsym_es2.h @@ -23,16 +23,30 @@ typedef void *GLeglImageOES; typedef GLint GLfixed; #endif -#if !defined(GL_ES_VERSION_2_0) #if (__STDC_VERSION__ <= 199901L) || (OSX && !MAC_OS_X_VERSION_10_7) +#ifndef GLint64 typedef long long int GLint64; +#endif + +#ifndef GLuint64 typedef unsigned long long int GLuint64; +#endif + +#ifndef GLuint64EXT typedef unsigned long long int GLuint64EXT; +#endif + typedef struct __GLsync *GLsync; #else + +#ifndef GLint64 typedef int64_t GLint64; +#endif + +#ifndef GLuint64 typedef uint64_t GLuint64; #endif + #endif typedef void (GL_APIENTRYP RGLSYMGLBLENDBARRIERKHRPROC) (void);