X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=compat%2Fmingw.h;h=51993ef114b4743267fc7b922dcae68345d2fd0a;hb=f81be17e1c4752c71815c26f5266604c2b7756b7;hp=6907345f90128eb20c1ca0a81c452af775877b4b;hpb=e36e6c00cd60130f8792319a5aa0f56d2da68e14;p=git.git diff --git a/compat/mingw.h b/compat/mingw.h index 6907345f9..51993ef11 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