[vlc-commits] qt: main_intf_win32: Remove useless cpp checks
Hugo Beauzée-Luyssen
git at videolan.org
Thu Dec 29 16:04:32 CET 2016
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Dec 29 14:32:15 2016 +0100| [d824855c5d53e34b160514634610397fb201f069] | committer: Hugo Beauzée-Luyssen
qt: main_intf_win32: Remove useless cpp checks
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d824855c5d53e34b160514634610397fb201f069
---
modules/gui/qt/main_interface_win32.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt/main_interface_win32.cpp b/modules/gui/qt/main_interface_win32.cpp
index 8aacbc5..8c642f8 100644
--- a/modules/gui/qt/main_interface_win32.cpp
+++ b/modules/gui/qt/main_interface_win32.cpp
@@ -37,7 +37,7 @@
#include <assert.h>
-#if defined(_WIN32) && HAS_QT5
+#if HAS_QT5
# include <QWindow>
# include <qpa/qplatformnativeinterface.h>
#endif
@@ -117,7 +117,7 @@ HWND MainInterfaceWin32::WinId( QWidget *w )
#endif
}
-#if defined(_WIN32) && !HAS_QT5
+#if !HAS_QT5
static const int PremultipliedAlpha = QPixmap::PremultipliedAlpha;
static HBITMAP qt_pixmapToWinHBITMAP(const QPixmap &p, int hbitmapFormat = 0)
{
More information about the vlc-commits
mailing list