mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Distinguish some more OSs
This commit is contained in:
parent
5fbc95f206
commit
3b134d52aa
@ -7,12 +7,18 @@
|
|||||||
#include "downloader.h"
|
#include "downloader.h"
|
||||||
|
|
||||||
|
|
||||||
#if defined(Q_OS_LINUX)
|
#if defined(Q_OS_ANDROID)
|
||||||
|
#define PLATFORM_STR "Android"
|
||||||
|
#elif defined(Q_OS_LINUX)
|
||||||
#define PLATFORM_STR "Linux"
|
#define PLATFORM_STR "Linux"
|
||||||
#elif defined(Q_OS_WIN32)
|
#elif defined(Q_OS_WIN32)
|
||||||
#define PLATFORM_STR "Windows"
|
#define PLATFORM_STR "Windows"
|
||||||
#elif defined(Q_OS_MAC)
|
#elif defined(Q_OS_MAC)
|
||||||
#define PLATFORM_STR "OS X"
|
#define PLATFORM_STR "OS X"
|
||||||
|
#elif defined(Q_OS_BSD4)
|
||||||
|
#define PLATFORM_STR "BSD"
|
||||||
|
#elif defined(Q_OS_HAIKU)
|
||||||
|
#define PLATFORM_STR "Haiku"
|
||||||
#else
|
#else
|
||||||
#define PLATFORM_STR "Unknown"
|
#define PLATFORM_STR "Unknown"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user