diff options
Diffstat (limited to 'src/include/platform.h')
-rw-r--r-- | src/include/platform.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/platform.h b/src/include/platform.h index 6d51747d..20d4df52 100644 --- a/src/include/platform.h +++ b/src/include/platform.h | |||
@@ -118,11 +118,11 @@ | |||
118 | typedef intptr_t ssize_t; | 118 | typedef intptr_t ssize_t; |
119 | #endif /* !_SSIZE_T_DEFINED */ | 119 | #endif /* !_SSIZE_T_DEFINED */ |
120 | 120 | ||
121 | #ifndef _WIN32 | 121 | #if !defined(_WIN32) || defined(__CYGWIN__) |
122 | typedef time_t _MHD_TIMEVAL_TV_SEC_TYPE; | 122 | typedef time_t _MHD_TIMEVAL_TV_SEC_TYPE; |
123 | #else /* _WIN32 */ | 123 | #else /* _WIN32 && ! __CYGWIN__ */ |
124 | typedef long _MHD_TIMEVAL_TV_SEC_TYPE; | 124 | typedef long _MHD_TIMEVAL_TV_SEC_TYPE; |
125 | #endif /* _WIN32 */ | 125 | #endif /* _WIN32 && ! __CYGWIN__ */ |
126 | 126 | ||
127 | #if !defined(IPPROTO_IPV6) && defined(_MSC_FULL_VER) && _WIN32_WINNT >= 0x0501 | 127 | #if !defined(IPPROTO_IPV6) && defined(_MSC_FULL_VER) && _WIN32_WINNT >= 0x0501 |
128 | /* VC use IPPROTO_IPV6 as part of enum */ | 128 | /* VC use IPPROTO_IPV6 as part of enum */ |