Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Refactor winsock initialization into a separate function
[gitweb.git]
/
compat
/
mingw.h
diff --git
a/compat/mingw.h
b/compat/mingw.h
index 6907345f90128eb20c1ca0a81c452af775877b4b..51993ef114b4743267fc7b922dcae68345d2fd0a 100644
(file)
--- 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
-#if
def USE_WIN32_MMAP
+#if
defined(USE_WIN32_MMAP) || defined(_MSC_VER)
int mingw_getpagesize(void);
#define getpagesize mingw_getpagesize
#endif