Fix clash with struct interface

This commit is contained in:
Roland Winklmeier
2018-09-17 16:24:20 +02:00
committed by Klaus Basan
parent 2517b78c7a
commit c379a722e3

View File

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