summaryrefslogtreecommitdiff
path: root/Source/WebCore/platform/graphics/OpenGLShims.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/OpenGLShims.h')
-rw-r--r--Source/WebCore/platform/graphics/OpenGLShims.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/OpenGLShims.h b/Source/WebCore/platform/graphics/OpenGLShims.h
index 1d5f37d9e..706f17d9b 100644
--- a/Source/WebCore/platform/graphics/OpenGLShims.h
+++ b/Source/WebCore/platform/graphics/OpenGLShims.h
@@ -22,7 +22,7 @@
#if PLATFORM(QT)
#include <qglobal.h>
-#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
+#if HAVE(QT5)
#include <qopenglfunctions.h>
#include <QOpenGLContext>
#include <QSurface>