Skip to content

Commit cf5bcd9

Browse files
authored
Merge pull request #3227 from softins/use-macos-define
2 parents e462529 + 679351d commit cf5bcd9

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/client.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#if defined( _WIN32 ) && !defined( JACK_ON_WINDOWS )
4545
# include "sound/asio/sound.h"
4646
#else
47-
# if ( defined( Q_OS_MACX ) ) && !defined( JACK_REPLACES_COREAUDIO )
47+
# if ( defined( Q_OS_MACOS ) ) && !defined( JACK_REPLACES_COREAUDIO )
4848
# include "sound/coreaudio-mac/sound.h"
4949
# else
5050
# if defined( Q_OS_IOS )

src/clientdlg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ void CClientDlg::SetMyWindowTitle ( const int iNumClients )
943943

944944
setWindowTitle ( strWinTitle );
945945

946-
#if defined( Q_OS_MACX )
946+
#if defined( Q_OS_MACOS )
947947
// for MacOS only we show the number of connected clients as a
948948
// badge label text if more than one user is connected
949949
if ( iNumClients > 1 )

src/clientdlg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
#include "connectdlg.h"
5454
#include "analyzerconsole.h"
5555
#include "ui_clientdlgbase.h"
56-
#if defined( Q_OS_MACX )
56+
#if defined( Q_OS_MACOS )
5757
# include "mac/badgelabel.h"
5858
#endif
5959

src/main.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
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"
4747
extern void qt_set_sequence_auto_mnemonic ( bool bEnable );
4848
#endif
@@ -60,7 +60,7 @@ extern void qt_set_sequence_auto_mnemonic ( bool bEnable );
6060
int 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

Comments
 (0)