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