diff --git a/src/aooptionsdialog.cpp b/src/aooptionsdialog.cpp index 2b8259f..b1d0974 100644 --- a/src/aooptionsdialog.cpp +++ b/src/aooptionsdialog.cpp @@ -512,6 +512,11 @@ bool AOOptionsDialog::needs_default_audiodev() { return false; } +#elif defined __APPLE__ +bool AOOptionsDialog::needs_default_audiodev() +{ + return false; +} #else #error This operating system is not supported. #endif diff --git a/src/courtroom.cpp b/src/courtroom.cpp index 3ed1e74..f4b484b 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -3508,6 +3508,11 @@ void Courtroom::load_bass_opus_plugin() { BASS_PluginLoad("libbassopus.so", 0); } +#elif defined __APPLE__ +void Courtroom::load_bass_opus_plugin() +{ + BASS_PluginLoad("libbassopus.dylib", 0); +} #else #error This operating system is unsupported for bass plugins. #endif diff --git a/src/hardware_functions.cpp b/src/hardware_functions.cpp index 29823cd..ebba6ab 100644 --- a/src/hardware_functions.cpp +++ b/src/hardware_functions.cpp @@ -50,6 +50,13 @@ QString get_hdid() return "gxcpz32sa9fnwic92mfbs0"; } +#elif defined __APPLE__ +QString get_hdid() +{ + //hdids are broken at this point anyways + return "just a mac passing by"; +} + #else #error This operating system is unsupported for hardware functions.