mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Fix for include of windows.h , as discussed
* Meeting 2014-03-25 * here https://dev.vatsim-germany.org/issues/185#note-4
This commit is contained in:
@@ -3,7 +3,15 @@
|
||||
|
||||
#include <QString>
|
||||
#include <QMetaEnum>
|
||||
|
||||
// apart from the below definitions, the following code is OS independent,
|
||||
// though it does not make sense to be used on non WIN machines.
|
||||
// But it allows parts as GUI to comile
|
||||
#ifdef Q_OS_WIN
|
||||
#include <windows.h>
|
||||
#else
|
||||
typedef unsigned long DWORD;
|
||||
#endif
|
||||
|
||||
namespace BlackSim
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user