Skip to content

Commit

Permalink
fix -Wexpansion-to-defined
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Jun 8, 2018
1 parent f1ce3f5 commit bead281
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion widgets/GraphicsItemRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
#include "QtAVWidgets/GraphicsItemRenderer.h"
#include "QtAV/private/QPainterRenderer_p.h"
#include "QtAV/FilterContext.h"
#define QTAV_HAVE_OPENGL (!defined QT_NO_OPENGL && (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) || defined(QT_OPENGL_LIB)))
#if !defined QT_NO_OPENGL && (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) || defined(QT_OPENGL_LIB))
#define QTAV_HAVE_OPENGL 1
#else
#define QTAV_HAVE_OPENGL 0
#endif
#if QTAV_HAVE(OPENGL)
#include "QtAV/OpenGLVideo.h"
#else
Expand Down

0 comments on commit bead281

Please sign in to comment.