aboutsummaryrefslogtreecommitdiff
path: root/src/include/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/platform.h')
-rw-r--r--src/include/platform.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/include/platform.h b/src/include/platform.h
index e9c2fa12..6d51747d 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -124,20 +124,6 @@ typedef time_t _MHD_TIMEVAL_TV_SEC_TYPE;
124typedef long _MHD_TIMEVAL_TV_SEC_TYPE; 124typedef long _MHD_TIMEVAL_TV_SEC_TYPE;
125#endif /* _WIN32 */ 125#endif /* _WIN32 */
126 126
127/* TODO: remove include when pipes implementation is moved to other file */
128#include "../microhttpd/mhd_sockets.h"
129/* Force don't use pipes on W32 */
130#if defined(_WIN32) && !defined(MHD_DONT_USE_PIPES)
131#define MHD_DONT_USE_PIPES 1
132#endif /* defined(_WIN32) && !defined(MHD_DONT_USE_PIPES) */
133
134/* MHD_pipe is type for pipe FDs*/
135#ifndef MHD_DONT_USE_PIPES
136typedef int MHD_pipe;
137#else /* ! MHD_DONT_USE_PIPES */
138typedef MHD_socket MHD_pipe;
139#endif /* ! MHD_DONT_USE_PIPES */
140
141#if !defined(IPPROTO_IPV6) && defined(_MSC_FULL_VER) && _WIN32_WINNT >= 0x0501 127#if !defined(IPPROTO_IPV6) && defined(_MSC_FULL_VER) && _WIN32_WINNT >= 0x0501
142/* VC use IPPROTO_IPV6 as part of enum */ 128/* VC use IPPROTO_IPV6 as part of enum */
143#define IPPROTO_IPV6 IPPROTO_IPV6 129#define IPPROTO_IPV6 IPPROTO_IPV6