changeset 9770:dfb20e8273e5

workaround conflict with the MINGW32 open function
author faust3
date Mon, 31 Mar 2003 16:55:53 +0000
parents 1e0082188467
children 25614fe4ed1a
files libaf/Makefile
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
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: