summaryrefslogtreecommitdiff
path: root/compat/mingw.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-11-21 07:48:11 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-11-21 07:48:11 (GMT)
commit7a4383cf13819cd2ef00f0d60318aad3f1813117 (patch)
tree7909507115206e773783940871aeb380df778d07 /compat/mingw.h
parent8102453318caf731ec0fdfa8d9f744a0ac9a44ef (diff)
parentb1b952043f8f909649fdf053c371109c84f9cf56 (diff)
downloadgit-7a4383cf13819cd2ef00f0d60318aad3f1813117.zip
git-7a4383cf13819cd2ef00f0d60318aad3f1813117.tar.gz
git-7a4383cf13819cd2ef00f0d60318aad3f1813117.tar.bz2
Merge branch 'rj/cygwin-msvc'
* rj/cygwin-msvc: MSVC: Add support for building with NO_MMAP Makefile: keep MSVC and Cygwin configuration separate
Diffstat (limited to 'compat/mingw.h')
-rw-r--r--compat/mingw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/mingw.h b/compat/mingw.h
index 6907345..51993ef 100644
--- a/compat/mingw.h
+++ b/compat/mingw.h
@@ -187,7 +187,7 @@ int mingw_connect(int sockfd, struct sockaddr *sa, size_t sz);
int mingw_rename(const char*, const char*);
#define rename mingw_rename
-#ifdef USE_WIN32_MMAP
+#if defined(USE_WIN32_MMAP) || defined(_MSC_VER)
int mingw_getpagesize(void);
#define getpagesize mingw_getpagesize
#endif