mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 16:55:06 +02:00
testing a change to hopefully fix gcc warnings
This commit is contained in:
parent
c43d3de213
commit
a779fb54ff
1 changed files with 6 additions and 12 deletions
|
@ -9,21 +9,15 @@
|
|||
|
||||
#include "platform.h"
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <qglobal.h>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#if defined(Q_OS_WIN)
|
||||
#include "WINPlatform.h"
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_MACOS
|
||||
#elif defined(Q_OS_MAC)
|
||||
#include "MACOSPlatform.h"
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_ANDROID
|
||||
#elif defined(Q_OS_ANDROID)
|
||||
#include "AndroidPlatform.h"
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
#elif defined(Q_OS_LINUX)
|
||||
#include "LinuxPlatform.h"
|
||||
#endif
|
||||
|
||||
|
@ -32,7 +26,7 @@ using namespace platform;
|
|||
Instance *_instance;
|
||||
|
||||
void platform::create() {
|
||||
#ifdef Q_OS_WIN
|
||||
#if defined(Q_OS_WIN)
|
||||
_instance =new WINInstance();
|
||||
#elif defined(Q_OS_MAC)
|
||||
_instance = new MACOSInstance();
|
||||
|
|
Loading…
Reference in a new issue