From d044147698e3b4e45da77b488ba7834d735bd033 Mon Sep 17 00:00:00 2001 From: "gregory.hainaut" Date: Thu, 13 Mar 2014 17:37:40 +0000 Subject: [PATCH] linux: fix compilation issue with recent Mesa (gentoo) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5928 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/GSdx/GLLoader.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/GSdx/GLLoader.h b/plugins/GSdx/GLLoader.h index 7df5738fae..cab86469ed 100644 --- a/plugins/GSdx/GLLoader.h +++ b/plugins/GSdx/GLLoader.h @@ -22,6 +22,16 @@ #pragma once #ifndef ENABLE_GLES +// FIX compilation issue with Mesa 10 +// Note it might be possible to do better with the right include +// in the rigth order but I don't have time +#ifndef APIENTRY +#define APIENTRY +#endif +#ifndef APIENTRYP +#define APIENTRYP APIENTRY * +#endif + // Allow compilation with older mesa #ifndef GL_ARB_copy_image