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:
Klaus Basan
2014-03-26 21:31:40 +01:00
parent 5b11de4da0
commit e1e4fbb449

View File

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