summaryrefslogtreecommitdiffstats
path: root/src/glx/XF86dri.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/XF86dri.c')
-rw-r--r--src/glx/XF86dri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/XF86dri.c b/src/glx/XF86dri.c
index 248d96ac5de..fdbdd43000e 100644
--- a/src/glx/XF86dri.c
+++ b/src/glx/XF86dri.c
@@ -45,7 +45,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "xf86dristr.h"
-#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303
+#if defined(__GNUC__)
# define PUBLIC __attribute__((visibility("default")))
# define USED __attribute__((used))
#else