Another MSVC patch from Ben Alison.
authorErik de Castro Lopo <erikd@mega-nerd.com>
Fri, 8 Mar 2013 09:47:31 +0000 (20:47 +1100)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Fri, 8 Mar 2013 09:47:43 +0000 (20:47 +1100)
include/share/compat.h
src/test_streams/main.c

index 3bdf61a..950a182 100644 (file)
@@ -48,7 +48,7 @@
 
 #if defined _MSC_VER || defined __BORLANDC__ || defined __MINGW32__
 #include <sys/types.h> /* for off_t */
-#if _MSC_VER <= 1600 || defined __BORLANDC__ /* @@@ [2G limit] */
+#if !defined __MINGW32__ /* @@@ [2G limit] */
 #ifndef fseeko
 #define fseeko fseek
 #endif
index 0c87e7f..19fe760 100644 (file)
@@ -23,6 +23,7 @@
 #include <math.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include "share/compat.h"
 #if defined _MSC_VER || defined __MINGW32__
 #include <time.h>
 #else