diff libaf/Makefile @ 9770:dfb20e8273e5

workaround conflict with the MINGW32 open function
author faust3
date Mon, 31 Mar 2003 16:55:53 +0000
parents 113095b8258b
children 2167ac4c1d72
line wrap: on
line diff
--- a/libaf/Makefile	Mon Mar 31 16:52:26 2003 +0000
+++ b/libaf/Makefile	Mon Mar 31 16:55:53 2003 +0000
@@ -7,6 +7,11 @@
 OBJS=$(SRCS:.c=.o)
 
 CFLAGS  = $(OPTFLAGS) -I. -Wall $(EXTRA_INC)
+
+ifeq ($(TARGET_MINGW32),yes)
+CFLAGS += -D_IO_H_
+endif
+
 .SUFFIXES: .c .o
 
 .c.o: