gpu_neon: fix x86 build
[pcsx_rearmed.git] / plugins / gpu-gles / gpuExternals.h
index f24c31a..977d74d 100644 (file)
 #ifdef __cplusplus\r
 extern "C" {\r
 #endif\r
-#define _GPU_API_\r
+\r
+typedef unsigned char u8;\r
+typedef signed char s8;\r
+typedef unsigned short int u16;\r
+typedef signed short int s16;\r
+typedef unsigned long u32;\r
+typedef signed long s32;\r
+typedef unsigned long long int u64;\r
+typedef signed long long int s64;\r
+\r
 #ifndef _WINDOWS\r
 #ifdef __NANOGL__\r
 #include <gl/gl.h>\r
@@ -41,19 +50,13 @@ extern "C" {
 #ifdef SOFT_LINKAGE\r
 #pragma softfp_linkage\r
 #endif\r
-#include <gles/gl.h> // for opengl es types \r
+#include <GLES/gl.h> // for opengl es types\r
 #ifdef SOFT_LINKAGE\r
 #pragma no_softfp_linkage\r
 #endif\r
 #endif\r
 #endif\r
 \r
-#ifdef MAEMO_CHANGES\r
-       #include "../psxCommon.h"\r
-#else\r
-       #include "psxCommon.h"\r
-#endif\r
-\r
 #ifdef __NANOGL__\r
 #define glTexParameteri(x,y,z) glTexParameterf(x,y,z) \r
 #define glAlphaFuncx(x,y) glAlphaFunc(x,y) \r
@@ -529,7 +532,7 @@ typedef struct {
 int x;\r
 int y;\r
 } Vec2f;\r
-/**/\r
+*/\r
 \r
 typedef struct {\r
   Vec3f xyz;\r