refs #891, unified "windows.h"

Remark: Using the lc version seems to be slightly smarter
http://stackoverflow.com/a/15466951/356726
This commit is contained in:
Klaus Basan
2017-02-28 05:47:48 +01:00
committed by Mathew Sutcliffe
parent d280141563
commit 056d205488
5 changed files with 5 additions and 7 deletions

View File

@@ -32,7 +32,7 @@ template <class T> class QSharedPointer;
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#include <windows.h>
#endif
namespace BlackCore

View File

@@ -13,7 +13,7 @@
#include <vector>
#ifdef Q_OS_WIN
#include <Windows.h>
#include <windows.h>
#endif
namespace BlackMisc

View File

@@ -13,12 +13,11 @@
#include <array>
#ifdef Q_OS_WIN
#include <Windows.h>
#include <windows.h>
#endif
namespace BlackMisc
{
CProcessCtrl::CProcessCtrl(QObject *parent) :
QProcess(parent)
{ }

View File

@@ -27,7 +27,7 @@
# ifndef NOMINMAX
# define NOMINMAX
# endif
# include <Windows.h>
# include <windows.h>
#else
using DWORD = unsigned long; //!< Fake Windows DWORD
#endif

View File

@@ -12,7 +12,7 @@
#endif
#include "fsuipc.h"
#include <Windows.h>
#include <windows.h>
// bug in FSUIPC_User.h, windows.h not included, so we have to import it first
#include "FSUIPC/FSUIPC_User.h"
#include "FSUIPC/NewWeather.h"
@@ -242,7 +242,6 @@ namespace BlackSimPlugin
qint16 numberOfEngines = 0;
qint16 engine1CombustionFlag = 0, engine2CombustionFlag = 0, engine3CombustionFlag = 0, engine4CombustionFlag = 0;
// http://www.projectmagenta.com/all-fsuipc-offsets/
// https://www.ivao.aero/softdev/ivap/fsuipc_sdk.asp
// http://squawkbox.ca/doc/sdk/fsuipc.php