mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
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:
committed by
Mathew Sutcliffe
parent
d280141563
commit
056d205488
@@ -32,7 +32,7 @@ template <class T> class QSharedPointer;
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
namespace BlackCore
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <vector>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
namespace BlackMisc
|
||||
|
||||
@@ -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)
|
||||
{ }
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
# ifndef NOMINMAX
|
||||
# define NOMINMAX
|
||||
# endif
|
||||
# include <Windows.h>
|
||||
# include <windows.h>
|
||||
#else
|
||||
using DWORD = unsigned long; //!< Fake Windows DWORD
|
||||
#endif
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user