Skip to content

Commit

Permalink
Merge pull request cebix#254 from asvitkine/fix_compile
Browse files Browse the repository at this point in the history
Fix AudioDevice.cpp compile on recent macOS versions.
  • Loading branch information
asvitkine authored Apr 1, 2022
2 parents c616a0d + 15f7a35 commit f65404c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions BasiliskII/src/MacOSX/AudioDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@

#include "AudioDevice.h"

// macOS 10.13 headers renamed the macro to __Verify_noErr().
#if defined(MAC_OS_X_VERSION_10_13)
#define verify_noerr __Verify_noErr
#endif

void AudioDevice::Init(AudioDeviceID devid, bool isInput)
{
mID = devid;
Expand Down

0 comments on commit f65404c

Please sign in to comment.