summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Germishuys <jacquesg@striata.com>2014-04-27 13:44:06 +0200
committerJacques Germishuys <jacquesg@striata.com>2014-05-01 10:49:51 +0200
commit1017f81f0049f493508c1409418af725e8d6998f (patch)
tree35451095ced9946102ff6f392ece03589110343b
parent9d878fc420037a78f6ab36b86a42641cbd9425e0 (diff)
downloadlibgit2-1017f81f0049f493508c1409418af725e8d6998f.tar.gz
Undef lseek first
-rw-r--r--src/win32/mingw-compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/win32/mingw-compat.h b/src/win32/mingw-compat.h
index 8f51d6f5a..059e39cbc 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