freebsd-ports/audio/mac/files/patch-Shared_All.h
Jason E. Hale 99f3133891 audio/mac: Update to 10.93
Switch back to the official SDK and make fetchable again. There's been
10 years of development since the last update, so have fun reading the
verion history!

Add upstream patches to audio/aqualung to make it work with the renamed
libraries. Other consumers just use the `mac` binary.

https://www.monkeysaudio.com/versionhistory.html
2025-02-07 04:45:32 -05:00

15 lines
649 B
C

We need to define PLATFORM_LINUX as the default if consumers don't do so.
--- Shared/All.h.orig 2025-02-07 08:39:49 UTC
+++ Shared/All.h
@@ -10,8 +10,8 @@ PLATFORM_ANDROID
PLATFORM_ANDROID
**************************************************************************************************/
#if !defined(PLATFORM_WINDOWS) && !defined(PLATFORM_APPLE) && !defined(PLATFORM_LINUX) && !defined(PLATFORM_ANDROID)
- #pragma message("No platform set for MACLib, defaulting to Windows")
- #define PLATFORM_WINDOWS
+ #pragma message("No platform set for MACLib, defaulting to Linux")
+ #define PLATFORM_LINUX
#endif
#ifdef PLATFORM_ANDROID