Changed: Include Windows headers only under Windows

This commit is contained in:
kervala 2016-05-16 11:13:04 +02:00
parent 4a26780709
commit 577680c85c

View file

@ -25,6 +25,7 @@
#undef realloc #undef realloc
#endif #endif
#ifdef _WIN32
#include <qt_windows.h> #include <qt_windows.h>
#include <shlguid.h> #include <shlguid.h>
#include <winnls.h> #include <winnls.h>
@ -32,17 +33,12 @@
#include <objbase.h> #include <objbase.h>
#include <objidl.h> #include <objidl.h>
#include <strsafe.h> #include <strsafe.h>
#endif
#ifndef _DEBUG #ifndef _DEBUG
#define QT_NO_DEBUG_OUTPUT #define QT_NO_DEBUG_OUTPUT
#endif #endif
#include <qglobal.h>
#ifdef Q_COMPILER_RVALUE_REFS
#undef Q_COMPILER_RVALUE_REFS
#endif
#include <QtCore/QtCore> #include <QtCore/QtCore>
#include <QtGui/QtGui> #include <QtGui/QtGui>
#include <QtNetwork/QtNetwork> #include <QtNetwork/QtNetwork>