freebsd-ports/audio/mac/files/patch-src-Shared-NoWindows.h
Pav Lucistnik 950514d877 Add mac, Monkey's Audio Codec which was recently released in source code.
It contain a library and an executable compressor/decompressor of .ape files.

Does not build under 4.x, we hit the wall with missing wcstol(). Working
patches would be welcomed.

PR:		ports/70153
Submitted by:	Martin Dieringer <Martin.Dieringer@t-online.de>
2004-08-11 07:52:12 +00:00

11 lines
288 B
C

--- src/Shared/NoWindows.h.orig Wed May 12 09:00:17 2004
+++ src/Shared/NoWindows.h Mon Aug 9 20:28:34 2004
@@ -50,7 +50,7 @@
#include <locale.h>
-#define _FPOSOFF(fp) ((long)(fp).__pos)
+#define _FPOSOFF(fp) ((long)(fp))
#define MAX_PATH 260
#ifndef _WAVEFORMATEX_