aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2014-12-22 19:42:50 +0000
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2014-12-22 19:42:50 +0000
commit5a85e406496f7c3e5ef3bd0f36dbf5327b22aa21 (patch)
treef1814ac81775dd17ff674b78defad4706166b6ec
parent2ee782685cd07eaa598f8d1b8577b06b9cf48785 (diff)
downloadlibmicrohttpd-5a85e406496f7c3e5ef3bd0f36dbf5327b22aa21.tar.gz
libmicrohttpd-5a85e406496f7c3e5ef3bd0f36dbf5327b22aa21.zip
[w32] Help code to detect IPPROTO_IPV6 on VC
-rw-r--r--src/include/platform.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h
index ad97c525..61e47899 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -197,4 +197,9 @@ typedef int MHD_pipe;
197typedef MHD_socket MHD_pipe; 197typedef MHD_socket MHD_pipe;
198#endif /* ! MHD_DONT_USE_PIPES */ 198#endif /* ! MHD_DONT_USE_PIPES */
199 199
200#if !defined(IPPROTO_IPV6) && defined(_MSC_FULL_VER) && _WIN32_WINNT >= 0x0501
201/* VC use IPPROTO_IPV6 as part of enum */
202#define IPPROTO_IPV6 IPPROTO_IPV6
203#endif
204
200#endif 205#endif