liballeg / allegro5

The official Allegro 5 git repository. Pull requests welcome!
https://liballeg.org
Other
1.9k stars 285 forks source link

FIx Building on MacOS with SDK versions < 12.0 #1570

Closed NewCreature closed 3 months ago

NewCreature commented 3 months ago

As described in the commit message, Apple renamed kAudioObjectPropertyElementMaster to kAudioObjectPropertyElementMain in the MacOS v12.0 SDK. This change made building Allegro with older SDKs fail.

This pull request includes a commit that allows Allegro to be built with SDKs < v12.0 by using the old variable name if the SDK being used is < v12.0.

SiegeLord commented 3 months ago

Sigh...

Thanks.