[Scummvm-cvs-logs] SF.net SVN: scummvm:[48885] tools/trunk
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Sat May 1 22:45:57 CEST 2010
Revision: 48885
http://scummvm.svn.sourceforge.net/scummvm/?rev=48885&view=rev
Author: m_kiewitz
Date: 2010-05-01 20:45:57 +0000 (Sat, 01 May 2010)
Log Message:
-----------
tools: don't include unistd.h for msvc
Modified Paths:
--------------
tools/trunk/compress.cpp
tools/trunk/engines/agos/compress_agos.cpp
tools/trunk/engines/kyra/compress_kyra.cpp
tools/trunk/engines/kyra/kyra_pak.cpp
tools/trunk/engines/queen/compress_queen.cpp
tools/trunk/engines/saga/compress_saga.cpp
tools/trunk/engines/sci/compress_sci.cpp
tools/trunk/engines/scumm/compress_scumm_bun.cpp
tools/trunk/engines/scumm/compress_scumm_san.cpp
tools/trunk/engines/scumm/compress_scumm_sou.cpp
tools/trunk/engines/sword1/compress_sword1.cpp
tools/trunk/engines/sword2/compress_sword2.cpp
tools/trunk/engines/tinsel/compress_tinsel.cpp
tools/trunk/engines/touche/compress_touche.cpp
tools/trunk/engines/tucker/compress_tucker.cpp
Modified: tools/trunk/compress.cpp
===================================================================
--- tools/trunk/compress.cpp 2010-05-01 19:56:11 UTC (rev 48884)
+++ tools/trunk/compress.cpp 2010-05-01 20:45:57 UTC (rev 48885)
@@ -25,7 +25,9 @@
#include <string.h>
#include <sstream>
#include <stdio.h>
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
#ifdef HAVE_CONFIG_H
#include <config.h>
Modified: tools/trunk/engines/agos/compress_agos.cpp
===================================================================
--- tools/trunk/engines/agos/compress_agos.cpp 2010-05-01 19:56:11 UTC (rev 48884)
+++ tools/trunk/engines/agos/compress_agos.cpp 2010-05-01 20:45:57 UTC (rev 48885)
@@ -22,7 +22,9 @@
#include <string.h>
#include <stdio.h>
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
#include "compress_agos.h"
Modified: tools/trunk/engines/kyra/compress_kyra.cpp
===================================================================
--- tools/trunk/engines/kyra/compress_kyra.cpp 2010-05-01 19:56:11 UTC (rev 48884)
+++ tools/trunk/engines/kyra/compress_kyra.cpp 2010-05-01 20:45:57 UTC (rev 48885)
@@ -23,7 +23,9 @@
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
#include "compress_kyra.h"
Modified: tools/trunk/engines/kyra/kyra_pak.cpp
===================================================================
--- tools/trunk/engines/kyra/kyra_pak.cpp 2010-05-01 19:56:11 UTC (rev 48884)
+++ tools/trunk/engines/kyra/kyra_pak.cpp 2010-05-01 20:45:57 UTC (rev 48885)
@@ -22,7 +22,9 @@
#include <assert.h>
#include <stdio.h>
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
#include "kyra_pak.h"
Modified: tools/trunk/engines/queen/compress_queen.cpp
===================================================================
--- tools/trunk/engines/queen/compress_queen.cpp 2010-05-01 19:56:11 UTC (rev 48884)
+++ tools/trunk/engines/queen/compress_queen.cpp 2010-05-01 20:45:57 UTC (rev 48885)
@@ -21,7 +21,9 @@
*/
#include <string.h>
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
#include "common/util.h"
#include "compress.h"
Modified: tools/trunk/engines/saga/compress_saga.cpp
===================================================================
--- tools/trunk/engines/saga/compress_saga.cpp 2010-05-01 19:56:11 UTC (rev 48884)
+++ tools/trunk/engines/saga/compress_saga.cpp 2010-05-01 20:45:57 UTC (rev 48885)
@@ -25,7 +25,9 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
#include "compress.h"
#include "compress_saga.h"
Modified: tools/trunk/engines/sci/compress_sci.cpp
===================================================================
--- tools/trunk/engines/sci/compress_sci.cpp 2010-05-01 19:56:11 UTC (rev 48884)
+++ tools/trunk/engines/sci/compress_sci.cpp 2010-05-01 20:45:57 UTC (rev 48885)
@@ -23,6 +23,9 @@
// by m_kiewitz
#include <stdlib.h>
+#ifndef _MSC_VER
+#include <unistd.h>
+#endif
#include "compress.h"
#include "common/endian.h"
Modified: tools/trunk/engines/scumm/compress_scumm_bun.cpp
===================================================================
--- tools/trunk/engines/scumm/compress_scumm_bun.cpp 2010-05-01 19:56:11 UTC (rev 48884)
+++ tools/trunk/engines/scumm/compress_scumm_bun.cpp 2010-05-01 20:45:57 UTC (rev 48885)
@@ -24,7 +24,9 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
#include "common/util.h"
#include "common/endian.h"
Modified: tools/trunk/engines/scumm/compress_scumm_san.cpp
===================================================================
--- tools/trunk/engines/scumm/compress_scumm_san.cpp 2010-05-01 19:56:11 UTC (rev 48884)
+++ tools/trunk/engines/scumm/compress_scumm_san.cpp 2010-05-01 20:45:57 UTC (rev 48885)
@@ -25,7 +25,9 @@
#include <string.h>
#include <zlib.h>
#include <stdio.h>
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
#include "compress_scumm_san.h"
#include "common/endian.h"
Modified: tools/trunk/engines/scumm/compress_scumm_sou.cpp
===================================================================
--- tools/trunk/engines/scumm/compress_scumm_sou.cpp 2010-05-01 19:56:11 UTC (rev 48884)
+++ tools/trunk/engines/scumm/compress_scumm_sou.cpp 2010-05-01 20:45:57 UTC (rev 48885)
@@ -22,7 +22,9 @@
#include <assert.h>
#include <string.h>
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
#include "compress_scumm_sou.h"
Modified: tools/trunk/engines/sword1/compress_sword1.cpp
===================================================================
--- tools/trunk/engines/sword1/compress_sword1.cpp 2010-05-01 19:56:11 UTC (rev 48884)
+++ tools/trunk/engines/sword1/compress_sword1.cpp 2010-05-01 20:45:57 UTC (rev 48885)
@@ -24,7 +24,9 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
#include "compress_sword1.h"
Modified: tools/trunk/engines/sword2/compress_sword2.cpp
===================================================================
--- tools/trunk/engines/sword2/compress_sword2.cpp 2010-05-01 19:56:11 UTC (rev 48884)
+++ tools/trunk/engines/sword2/compress_sword2.cpp 2010-05-01 20:45:57 UTC (rev 48885)
@@ -20,7 +20,9 @@
*
*/
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
#include "compress_sword2.h"
Modified: tools/trunk/engines/tinsel/compress_tinsel.cpp
===================================================================
--- tools/trunk/engines/tinsel/compress_tinsel.cpp 2010-05-01 19:56:11 UTC (rev 48884)
+++ tools/trunk/engines/tinsel/compress_tinsel.cpp 2010-05-01 20:45:57 UTC (rev 48885)
@@ -23,7 +23,9 @@
// By Jimi (m [underline] kiewitz [AT] users.sourceforge.net)
#include <stdlib.h>
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
#include "compress.h"
#include "common/endian.h"
Modified: tools/trunk/engines/touche/compress_touche.cpp
===================================================================
--- tools/trunk/engines/touche/compress_touche.cpp 2010-05-01 19:56:11 UTC (rev 48884)
+++ tools/trunk/engines/touche/compress_touche.cpp 2010-05-01 20:45:57 UTC (rev 48885)
@@ -22,7 +22,9 @@
#include <string.h>
#include <stdio.h>
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
#include "compress.h"
#include "compress_touche.h"
Modified: tools/trunk/engines/tucker/compress_tucker.cpp
===================================================================
--- tools/trunk/engines/tucker/compress_tucker.cpp 2010-05-01 19:56:11 UTC (rev 48884)
+++ tools/trunk/engines/tucker/compress_tucker.cpp 2010-05-01 20:45:57 UTC (rev 48885)
@@ -23,7 +23,9 @@
#include <assert.h>
#include <string.h>
#include <stdio.h>
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
#include "common/util.h"
#include "compress.h"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list