summaryrefslogtreecommitdiff
path: root/Mesa
diff options
context:
space:
mode:
Diffstat (limited to 'Mesa')
-rw-r--r--Mesa/inc/gl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mesa/inc/gl.h b/Mesa/inc/gl.h
index b427637e6ece..4945c031e0e7 100644
--- a/Mesa/inc/gl.h
+++ b/Mesa/inc/gl.h
@@ -62,7 +62,7 @@
#elif defined(__CYGWIN__) && defined(USE_OPENGL32) /* use native windows opengl32 */
# define GLAPI extern
# define GLAPIENTRY __stdcall
-#elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303
+#elif defined(__GNUC__)
# define GLAPI __attribute__((visibility("default")))
# define GLAPIENTRY
#endif /* WIN32 && !CYGWIN */