diff --git a/src/util.h b/src/util.h index 66c70294ee..9c9d3a3861 100644 --- a/src/util.h +++ b/src/util.h @@ -1098,9 +1098,11 @@ class COSUtil { #ifdef _WIN32 return OT_WINDOWS; -#elif defined( __APPLE__ ) || defined( __MACOSX ) +#elif defined( Q_OS_MACOS ) return OT_MAC_OS; -#elif defined( ANDROID ) +#elif defined( Q_OS_IOS ) + return OT_I_OS; +#elif defined( Q_OS_ANDROID ) || defined( ANDROID ) return OT_ANDROID; #else return OT_LINUX;