diff --git a/src/VideoWindow.cpp b/src/VideoWindow.cpp index 3aa927897..89a249946 100644 --- a/src/VideoWindow.cpp +++ b/src/VideoWindow.cpp @@ -89,7 +89,7 @@ VideoWindow::VideoWindow(Context *context, const QDir &home) : VideoWindow::~VideoWindow() { -#ifdef Q_OS_LINUX && QT_VERSION < 0x050000 //XXX IN PORT TO QT 5.1 THIS IS BROKEN CODE XXX +#if (defined Q_OS_LINUX) && (QT_VERSION < 0x050000) //XXX IN PORT TO QT 5.1 THIS IS BROKEN CODE XXX // unembed vlc backend first x11Container->discardClient(); #endif diff --git a/src/VideoWindow.h b/src/VideoWindow.h index 8a9189bc6..e5a0801ab 100644 --- a/src/VideoWindow.h +++ b/src/VideoWindow.h @@ -39,7 +39,7 @@ extern "C" { #include "RealtimeData.h" #include "TrainSidebar.h" -#ifdef Q_OS_LINUX && QT_VERSION < 0x050000 +#if (defined Q_OS_LINUX) && (QT_VERSION < 0x050000) #include #endif