Another MSVC patch from Ben Alison.

This commit is contained in:
Erik de Castro Lopo
2013-03-08 20:47:31 +11:00
parent a4c321e492
commit fd6b192d25
2 changed files with 2 additions and 1 deletions

View File

@@ -48,7 +48,7 @@
#if defined _MSC_VER || defined __BORLANDC__ || defined __MINGW32__ #if defined _MSC_VER || defined __BORLANDC__ || defined __MINGW32__
#include <sys/types.h> /* for off_t */ #include <sys/types.h> /* for off_t */
#if _MSC_VER <= 1600 || defined __BORLANDC__ /* @@@ [2G limit] */ #if !defined __MINGW32__ /* @@@ [2G limit] */
#ifndef fseeko #ifndef fseeko
#define fseeko fseek #define fseeko fseek
#endif #endif

View File

@@ -23,6 +23,7 @@
#include <math.h> #include <math.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "share/compat.h"
#if defined _MSC_VER || defined __MINGW32__ #if defined _MSC_VER || defined __MINGW32__
#include <time.h> #include <time.h>
#else #else