aboutsummaryrefslogtreecommitdiff
path: root/src/include/mhd_options.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/mhd_options.h')
-rw-r--r--src/include/mhd_options.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/mhd_options.h b/src/include/mhd_options.h
index 25b5cd52..df45cf9b 100644
--- a/src/include/mhd_options.h
+++ b/src/include/mhd_options.h
@@ -57,13 +57,13 @@
57 headers. */ 57 headers. */
58#ifdef FD_SETSIZE 58#ifdef FD_SETSIZE
59/* FD_SETSIZE defined in command line or in MHD_config.h */ 59/* FD_SETSIZE defined in command line or in MHD_config.h */
60#elif defined(_WIN32) && !defined(__CYGWIN__) 60#elif defined(_WIN32) || defined(__CYGWIN__)
61/* Platform with WinSock and without overridden FD_SETSIZE */ 61/* Platform with WinSock and without overridden FD_SETSIZE */
62#define FD_SETSIZE 2048 /* Override default small value */ 62#define FD_SETSIZE 2048 /* Override default small value (64) */
63#else /* !FD_SETSIZE && !WinSock*/ 63#else /* !FD_SETSIZE && !W32 */
64/* System default value of FD_SETSIZE is used */ 64/* System default value of FD_SETSIZE is used */
65#define _MHD_FD_SETSIZE_IS_DEFAULT 1 65#define _MHD_FD_SETSIZE_IS_DEFAULT 1
66#endif /* !FD_SETSIZE && !WinSock*/ 66#endif /* !FD_SETSIZE && !W32 */
67 67
68#if defined(HAVE_LINUX_SENDFILE) || defined(HAVE_FREEBSD_SENDFILE) || \ 68#if defined(HAVE_LINUX_SENDFILE) || defined(HAVE_FREEBSD_SENDFILE) || \
69 defined(HAVE_DARWIN_SENDFILE) || defined(HAVE_SOLARIS_SENDFILE) 69 defined(HAVE_DARWIN_SENDFILE) || defined(HAVE_SOLARIS_SENDFILE)
@@ -82,7 +82,7 @@
82#define _LP64 82#define _LP64
83#endif 83#endif
84 84
85#if defined(_WIN32) 85#if defined(_WIN32) && ! defined(__CYGWIN__)
86#ifndef _WIN32_WINNT 86#ifndef _WIN32_WINNT
87#define _WIN32_WINNT 0x0501 87#define _WIN32_WINNT 0x0501
88#else /* _WIN32_WINNT */ 88#else /* _WIN32_WINNT */
@@ -94,7 +94,7 @@
94/* Do not include unneeded parts of W32 headers. */ 94/* Do not include unneeded parts of W32 headers. */
95#define WIN32_LEAN_AND_MEAN 1 95#define WIN32_LEAN_AND_MEAN 1
96#endif /* !WIN32_LEAN_AND_MEAN */ 96#endif /* !WIN32_LEAN_AND_MEAN */
97#endif /* _WIN32 */ 97#endif /* _WIN32 && ! __CYGWIN__ */
98 98
99#if defined(__VXWORKS__) || defined(__vxworks) || defined(OS_VXWORKS) 99#if defined(__VXWORKS__) || defined(__vxworks) || defined(OS_VXWORKS)
100#define RESTRICT __restrict__ 100#define RESTRICT __restrict__