Skip to content

Commit

Permalink
iOS: Fix GetOperatingSystem() to return correct OS
Browse files Browse the repository at this point in the history
  • Loading branch information
ann0see committed Aug 26, 2024
1 parent d1dfd33 commit 9617fbd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9617fbd

Please sign in to comment.