Proper version check. validated on macOS 11.6.1 and macOS 12.2.1

This commit is contained in:
Brad Howes 2022-02-21 15:58:02 +01:00 committed by derselbst
parent 43282855dd
commit 8d00f6cdac

View file

@ -73,7 +73,7 @@ OSStatus fluid_core_audio_callback(void *data,
#define OK(x) (x == noErr)
#if MAC_OS_X_VERSION < 1200
#if __MAC_OS_X_VERSION_MAX_ALLOWED < 120000
#define kAudioObjectPropertyElementMain (kAudioObjectPropertyElementMaster)
#endif