aboutsummaryrefslogtreecommitdiff
path: root/src/include/platform.h
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-08-23 20:12:56 +0000
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-08-23 20:12:56 +0000
commit558572ec73c212b87ea999b0c0d2ed65900d82c2 (patch)
treec914682046b51f504c39c7c6e8e14e9ea163fa73 /src/include/platform.h
parent50bbf74d4e1a12f5272a732feb26912db2cff63d (diff)
downloadlibmicrohttpd-558572ec73c212b87ea999b0c0d2ed65900d82c2.tar.gz
libmicrohttpd-558572ec73c212b87ea999b0c0d2ed65900d82c2.zip
Moved pipe/socketpair to separate mhd_itc.h/.c files.
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