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:
Klaus Basan
2017-11-05 02:33:23 +01:00
parent e270a54a68
commit 6b3cdf52ee
5 changed files with 10 additions and 19 deletions

View File

@@ -15,7 +15,7 @@
#include <QtGlobal>
#include "blackmisc/aviation/aircraftlights.h"
#include "../fsx/simconnectwindows.h"
#include "../fsxcommon/simconnectwindows.h"
#include <algorithm>
#include <QString>

View 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

View File

@@ -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"