testing a change to hopefully fix gcc warnings

This commit is contained in:
amerhifi 2019-05-15 11:53:40 -07:00
parent c43d3de213
commit a779fb54ff

View file

@ -9,21 +9,15 @@
#include "platform.h" #include "platform.h"
#include <QtGlobal> #include <qglobal.h>
#ifdef Q_OS_WIN #if defined(Q_OS_WIN)
#include "WINPlatform.h" #include "WINPlatform.h"
#endif #elif defined(Q_OS_MAC)
#ifdef Q_OS_MACOS
#include "MACOSPlatform.h" #include "MACOSPlatform.h"
#endif #elif defined(Q_OS_ANDROID)
#ifdef Q_OS_ANDROID
#include "AndroidPlatform.h" #include "AndroidPlatform.h"
#endif #elif defined(Q_OS_LINUX)
#ifdef Q_OS_LINUX
#include "LinuxPlatform.h" #include "LinuxPlatform.h"
#endif #endif
@ -32,7 +26,7 @@ using namespace platform;
Instance *_instance; Instance *_instance;
void platform::create() { void platform::create() {
#ifdef Q_OS_WIN #if defined(Q_OS_WIN)
_instance =new WINInstance(); _instance =new WINInstance();
#elif defined(Q_OS_MAC) #elif defined(Q_OS_MAC)
_instance = new MACOSInstance(); _instance = new MACOSInstance();