summaryrefslogtreecommitdiffstats
path: root/libaf
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-31 16:55:53 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-31 16:55:53 +0000
commit8dda326737c15e25ffa4fd70c4cfa0ca80d13438 (patch)
tree73037d7cfdb8d51371d395b5e68b9abd01dcd64c /libaf
parent33c283188d624fe8e758e41c61d068d6cc7ad883 (diff)
downloadmpv-8dda326737c15e25ffa4fd70c4cfa0ca80d13438.tar.bz2
mpv-8dda326737c15e25ffa4fd70c4cfa0ca80d13438.tar.xz
workaround conflict with the MINGW32 open function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9771 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf')
-rw-r--r--libaf/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/libaf/Makefile b/libaf/Makefile
index e533254fb0..bcc95522a1 100644
--- a/libaf/Makefile
+++ b/libaf/Makefile
@@ -7,6 +7,11 @@ SRCS=af.c af_mp.c af_dummy.c af_delay.c af_channels.c af_format.c af_resample.c
OBJS=$(SRCS:.c=.o)
CFLAGS = $(OPTFLAGS) -I. -Wall $(EXTRA_INC)
+
+ifeq ($(TARGET_MINGW32),yes)
+CFLAGS += -D_IO_H_
+endif
+
.SUFFIXES: .c .o
.c.o: