From 3ac113857071fc1f225b2e1b42547269e568c6b7 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Tue, 11 Aug 2020 22:35:12 +0100 Subject: New upstream version 2.2.4.4 --- PlatformMacro.h | 86 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 45 insertions(+), 41 deletions(-) mode change 100644 => 100755 PlatformMacro.h (limited to 'PlatformMacro.h') diff --git a/PlatformMacro.h b/PlatformMacro.h old mode 100644 new mode 100755 index d15329d..b5815c9 --- a/PlatformMacro.h +++ b/PlatformMacro.h @@ -10,50 +10,54 @@ //windows #if defined(Q_OS_WIN32) - #if defined(_M_X64) //_WIN64 - //windows 64Bits - #define ULTRACOPIER_PLATFORM_NAME tr("Windows 64Bits") - #define ULTRACOPIER_PLATFORM_CODE "windows-x86_64" - #else - //windows 32Bits - #define ULTRACOPIER_PLATFORM_NAME tr("Windows 32Bits") - #define ULTRACOPIER_PLATFORM_CODE "windows-x86" - #endif + #if defined(_M_X64) //_WIN64 + //windows 64Bits + #define ULTRACOPIER_PLATFORM_NAME tr("Windows 64Bits") + #define ULTRACOPIER_PLATFORM_CODE "windows-x86_64" + #else + //windows 32Bits + #define ULTRACOPIER_PLATFORM_NAME tr("Windows 32Bits") + #define ULTRACOPIER_PLATFORM_CODE "windows-x86" + #endif #elif defined(Q_OS_MAC) - //Mac OS X - #define ULTRACOPIER_PLATFORM_NAME tr("Mac OS X") - #define ULTRACOPIER_PLATFORM_CODE "mac-os-x" + //Mac OS X + #define ULTRACOPIER_PLATFORM_NAME tr("Mac OS X") + #define ULTRACOPIER_PLATFORM_CODE "mac-os-x" #elif defined(Q_OS_LINUX) - #if defined(__i386__) - //linux pc i386 - #define ULTRACOPIER_PLATFORM_NAME tr("Linux pc i386") - #define ULTRACOPIER_PLATFORM_CODE "linux-i386-pc" - #elif defined(__i486__) - //linux pc i486 - #define ULTRACOPIER_PLATFORM_NAME tr("Linux pc i486") - #define ULTRACOPIER_PLATFORM_CODE "linux-i486-pc" - #elif defined(__i586__) - //linux pc i586 - #define ULTRACOPIER_PLATFORM_NAME tr("Linux pc i586") - #define ULTRACOPIER_PLATFORM_CODE "linux-i586-pc" - #elif defined(__i686__) - //linux pc i686 - #define ULTRACOPIER_PLATFORM_NAME tr("Linux pc i686") - #define ULTRACOPIER_PLATFORM_CODE "linux-i686-pc" - #elif defined(__x86_64__) - //linux pc 64Bits - #define ULTRACOPIER_PLATFORM_NAME tr("Linux pc 64Bits") - #define ULTRACOPIER_PLATFORM_CODE "linux-x86_64-pc" - #else - //linux unknow - #define ULTRACOPIER_PLATFORM_NAME tr("Linux unknow platform") - #define ULTRACOPIER_PLATFORM_CODE "linux-unknow-pc" - #endif + #if defined(__i386__) + //linux pc i386 + #define ULTRACOPIER_PLATFORM_NAME tr("Linux pc i386") + #define ULTRACOPIER_PLATFORM_CODE "linux-i386-pc" + #elif defined(__i486__) + //linux pc i486 + #define ULTRACOPIER_PLATFORM_NAME tr("Linux pc i486") + #define ULTRACOPIER_PLATFORM_CODE "linux-i486-pc" + #elif defined(__i586__) + //linux pc i586 + #define ULTRACOPIER_PLATFORM_NAME tr("Linux pc i586") + #define ULTRACOPIER_PLATFORM_CODE "linux-i586-pc" + #elif defined(__i686__) + //linux pc i686 + #define ULTRACOPIER_PLATFORM_NAME tr("Linux pc i686") + #define ULTRACOPIER_PLATFORM_CODE "linux-i686-pc" + #elif defined(__x86_64__) + //linux pc 64Bits + #define ULTRACOPIER_PLATFORM_NAME tr("Linux pc 64Bits") + #define ULTRACOPIER_PLATFORM_CODE "linux-x86_64-pc" + #else + //linux unknow + #define ULTRACOPIER_PLATFORM_NAME tr("Linux unknow platform") + #define ULTRACOPIER_PLATFORM_CODE "linux-unknow-pc" + #endif +#elif defined(__HAIKU__) + //Haiku OS + #define ULTRACOPIER_PLATFORM_NAME tr("Haiku OS platform") + #define ULTRACOPIER_PLATFORM_CODE "haiku-os" #else - //unknow - #define ULTRACOPIER_PLATFORM_NAME tr("Unknow platform") - #define ULTRACOPIER_PLATFORM_CODE "unknow" + //unknow + #define ULTRACOPIER_PLATFORM_NAME tr("Unknow platform") + #define ULTRACOPIER_PLATFORM_CODE "unknow" #endif #endif // PLATFORM_MACRO_H - + -- cgit v1.2.3