4242#ifdef ANDROID
4343# include < QtAndroidExtras/QtAndroid>
4444#endif
45- #if defined( Q_OS_MACX )
45+ #if defined( Q_OS_MACOS )
4646# include " mac/activity.h"
4747extern void qt_set_sequence_auto_mnemonic ( bool bEnable );
4848#endif
@@ -60,7 +60,7 @@ extern void qt_set_sequence_auto_mnemonic ( bool bEnable );
6060int main ( int argc, char ** argv )
6161{
6262
63- #if defined( Q_OS_MACX )
63+ #if defined( Q_OS_MACOS )
6464 // Mnemonic keys are default disabled in Qt for MacOS. The following function enables them.
6565 // Qt will not show these with underline characters in the GUI on MacOS. (#1873)
6666 qt_set_sequence_auto_mnemonic ( true );
@@ -74,7 +74,7 @@ int main ( int argc, char** argv )
7474
7575 // initialize all flags and string which might be changed by command line
7676 // arguments
77- #if ( defined( SERVER_BUNDLE ) && defined( Q_OS_MACX ) ) || defined( SERVER_ONLY )
77+ #if ( defined( SERVER_BUNDLE ) && defined( Q_OS_MACOS ) ) || defined( SERVER_ONLY )
7878 // if we are on MacOS and we are building a server bundle or requested build with serveronly, start Jamulus in server mode
7979 bool bIsClient = false ;
8080 qInfo () << " - Starting in server mode by default (due to compile time option)" ;
@@ -585,7 +585,7 @@ int main ( int argc, char** argv )
585585
586586// clicking on the Mac application bundle, the actual application
587587// is called with weird command line args -> do not exit on these
588- #if !( defined( Q_OS_MACX ) )
588+ #if !( defined( Q_OS_MACOS ) )
589589 exit ( 1 );
590590#endif
591591 }
@@ -850,7 +850,7 @@ int main ( int argc, char** argv )
850850 pApp->addLibraryPath ( QString ( ApplDir.absolutePath () ) );
851851#endif
852852
853- #if defined( Q_OS_MACX )
853+ #if defined( Q_OS_MACOS )
854854 // On OSX we need to declare an activity to ensure the process doesn't get
855855 // throttled by OS level Nap, Sleep, and Thread Priority systems.
856856 CActivity activity;
@@ -1065,7 +1065,7 @@ int main ( int argc, char** argv )
10651065 }
10661066 }
10671067
1068- #if defined( Q_OS_MACX )
1068+ #if defined( Q_OS_MACOS )
10691069 activity.EndActivity ();
10701070#endif
10711071
0 commit comments