Changes needed to compile master branch.
[xboard.git] / winboard / makefile.ms
index 2a8e1d1..4a26ca6 100644 (file)
@@ -31,7 +31,7 @@ RC = @rc
 LINK = link\r
 HC="c:\program files\help workshop\hcrtf.exe" -xn\r
 FLEX = "c:/mingw/mingw32/bin/flex.exe"\r
-DEFS = -D_WIN32_IE=0x300 -DWIN32 -DWINVER=0x0500 -D_WIN32_WINDOWS=0x500\r
+DEFS = -D_WIN32_IE=0x300 -DWIN32 -DWINVER=0x0500 -D_WIN32_WINDOWS=0x500 -D YY_NO_UNISTD_H\r
 !if $(JAWS) == 1\r
 DEFS = -DJAWS $(DEFS)\r
 !endif\r
@@ -91,8 +91,8 @@ parser.c: ../parser.l
     $(FLEX) -oparser.c -L ../parser.l\r
 \r
 winboard.obj: winboard.c config.h winboard.h ../common.h ../frontend.h \\r
-        ../backend.h ../moves.h wgamelist.h defaults.h resource.h wclipbrd.h \\r
-        wedittags.h wsockerr.h woptions.h wsnap.h ../lists.h help.h ../args.h\r
+        ../backend.h ../moves.h defaults.h resource.h wclipbrd.h \\r
+        wsockerr.h woptions.h wsnap.h ../lists.h help.h ../args.h\r
         $(CC) $(CFLAGS) winboard.c\r
 \r
 backend.obj: ../backend.c config.h ../common.h ../frontend.h ../backend.h \\r