1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00

Compare commits

...

3 Commits

Author SHA1 Message Date
03c9dbd2a7 Back to Qt 6.4.0 2022-11-23 20:54:55 +01:00
2a2cd5ff59 Use Qt 6.4.1 for Android CI builds 2022-11-23 20:40:09 +01:00
3b134d52aa Distinguish some more OSs 2022-11-23 20:20:35 +01:00

View File

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