mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Fix clash with struct interface
This commit is contained in:
committed by
Klaus Basan
parent
2517b78c7a
commit
c379a722e3
@@ -7,9 +7,16 @@
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
|
||||
// clash with struct interface in objbase.h used to happen
|
||||
#pragma push_macro("interface")
|
||||
#undef interface
|
||||
|
||||
#include <windows.h>
|
||||
#include <SimConnect.h>
|
||||
|
||||
#pragma pop_macro("interface")
|
||||
|
||||
#ifndef Q_OS_WIN64
|
||||
//! adding struct SIMCONNECT_DATA_PBH not existing in SimConnect FSX
|
||||
struct SIMCONNECT_DATA_PBH
|
||||
|
||||
Reference in New Issue
Block a user