Fixed more warnings, hopefully prevented Microsoft Vs. C++ 7 not to freak out.
This commit is contained in:
@@ -28,6 +28,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|||||||
#include <io.h>
|
#include <io.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#ifndef _MSC_VER
|
||||||
|
#include <unistd.h>
|
||||||
|
#else
|
||||||
|
#include <direct.h>
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define StringA "FRAMESKIP"
|
#define StringA "FRAMESKIP"
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
#ifdef __WIN32__
|
#ifdef __WIN32__
|
||||||
|
#include <direct.h>
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#define ftruncate chsize
|
#define ftruncate chsize
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user