mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
Ref T118, fix for simconnect.h not including windows.h
This commit is contained in:
13
src/plugins/simulator/fsx/simconnectwindows.h
Normal file
13
src/plugins/simulator/fsx/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
|
||||
Reference in New Issue
Block a user