mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 13:58:51 +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 "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();
|
||||||
|
|
Loading…
Reference in a new issue