Commit 1017f81f0049f493508c1409418af725e8d6998f

Jacques Germishuys 2014-04-27T13:44:06

Undef lseek first

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/win32/mingw-compat.h b/src/win32/mingw-compat.h
index 8f51d6f..059e39c 100644
--- a/src/win32/mingw-compat.h
+++ b/src/win32/mingw-compat.h
@@ -10,6 +10,7 @@
 #if defined(__MINGW32__)
 
 /* use a 64-bit file offset type */
+# undef lseek
 # define lseek _lseeki64
 # undef stat
 # define stat _stati64