[Scummvm-cvs-logs] CVS: tools extract.c,1.16,1.17 simon2mp3.c,1.5,1.6

Pawel Kolodziejski aquadran at users.sourceforge.net
Wed Jan 1 00:30:01 CET 2003


Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1:/tmp/cvs-serv26688

Modified Files:
	extract.c simon2mp3.c 
Log Message:
fixed compilation, if MS Platform SDK is not installed

Index: extract.c
===================================================================
RCS file: /cvsroot/scummvm/tools/extract.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- extract.c	6 Dec 2002 17:17:10 -0000	1.16
+++ extract.c	1 Jan 2003 08:29:15 -0000	1.17
@@ -23,7 +23,10 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sys/stat.h>
+
+#ifndef WIN32
 #include <unistd.h>
+#endif
 
 /* These are the defaults parameters for the Lame invocation */
 #define minBitrDef 24

Index: simon2mp3.c
===================================================================
RCS file: /cvsroot/scummvm/tools/simon2mp3.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- simon2mp3.c	6 Dec 2002 17:17:23 -0000	1.5
+++ simon2mp3.c	1 Jan 2003 08:29:15 -0000	1.6
@@ -23,7 +23,10 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sys/stat.h>
+
+#ifndef WIN32
 #include <unistd.h>
+#endif
 
 /* These are the defaults parameters for the Lame invocation */
 #define minBitrDef 24





More information about the Scummvm-git-logs mailing list