Files
ports/audio/mac/patches/patch-Shared_NoWindows_h
jeremy d23e76a5d0 Update to Monkey's Audio Codec 10.20
This switches to using the upstream distfile, instead of what appears
to be a Linux port of a quite old version (Monkey's Audio was
previously Windows-only). The upstream distfile compiles without
hanges.

The shared library has changed from libmac to libMAC.  The license
has changed from a custom, non-open source license to a standard
BSD-3-Clause license.

All previous patches no longer necessary or apply. Add a couple
new patches to the include files to make it easier to use the
library.
2023-09-10 03:11:51 +00:00

17 lines
303 B
Plaintext

Index: Shared/NoWindows.h
--- Shared/NoWindows.h.orig
+++ Shared/NoWindows.h
@@ -38,8 +38,12 @@ typedef struct _GUID {
#undef ZeroMemory
#define ZeroMemory(POINTER, BYTES) memset(POINTER, 0, BYTES);
+#ifndef TRUE
#define TRUE 1
+#endif
+#ifndef FALSE
#define FALSE 0
+#endif
#define CALLBACK