mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Ref T180, adjusted FSX/P3D includes
* the fix header belongs into fsxcommon (not fsx) dir * P3D is purely P3D, we do not build a P3D x86 driver
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#include <QtGlobal>
|
||||
|
||||
#include "blackmisc/aviation/aircraftlights.h"
|
||||
#include "../fsx/simconnectwindows.h"
|
||||
#include "../fsxcommon/simconnectwindows.h"
|
||||
#include <algorithm>
|
||||
#include <QString>
|
||||
|
||||
|
||||
13
src/plugins/simulator/fsxcommon/simconnectwindows.h
Normal file
13
src/plugins/simulator/fsxcommon/simconnectwindows.h
Normal file
@@ -0,0 +1,13 @@
|
||||
// in P3Dv4 the simconnect.h does not include windows.h
|
||||
// here we include windows.h first
|
||||
|
||||
#ifndef BLACKSIMPLUGIN_FSX_SIMCONNECTWINDOWS_H
|
||||
#define BLACKSIMPLUGIN_FSX_SIMCONNECTWINDOWS_H
|
||||
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#include <SimConnect.h>
|
||||
|
||||
#endif // guard
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
#include "simconnectdatadefinition.h"
|
||||
#include "simconnectobject.h"
|
||||
#include "../fsx/simconnectwindows.h"
|
||||
#include "../fsxcommon/simconnectwindows.h"
|
||||
#include "../fscommon/simulatorfscommon.h"
|
||||
#include "blackcore/simulator.h"
|
||||
#include "blackmisc/simulation/interpolatorlinear.h"
|
||||
|
||||
Reference in New Issue
Block a user