From eb7f7576c9c8a200c5536e72466218e126ae975e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Wed, 18 Aug 2010 23:42:48 +0000 Subject: [PATCH] OpenGL: Fix warnings on ppc #pragma export on and #pragma export off result in warnings on ppc, which are now treated as errors. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38256 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/opengl/GL/gl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headers/os/opengl/GL/gl.h b/headers/os/opengl/GL/gl.h index f4b02d4c72..7b34a395f7 100644 --- a/headers/os/opengl/GL/gl.h +++ b/headers/os/opengl/GL/gl.h @@ -67,7 +67,7 @@ # define GLAPIENTRY #endif /* WIN32 && !CYGWIN */ -#if ((defined(__BEOS__) || defined(__HAIKU__)) && defined(__POWERPC__)) || defined(__QUICKDRAW__) +#if (defined(__BEOS__) && defined(__POWERPC__)) || defined(__QUICKDRAW__) # define PRAGMA_EXPORT_SUPPORTED 1 #endif