diff options
Diffstat (limited to '')
-rw-r--r-- | syshead.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -478,4 +478,11 @@ socket_defined (const socket_descriptor_t sd) */ #define TIME_BACKTRACK_PROTECTION 1 +/* + * Is non-blocking connect() supported? + */ +#if defined(HAVE_GETSOCKOPT) && defined(SOL_SOCKET) && defined(SO_ERROR) && defined(EINPROGRESS) && defined(ETIMEDOUT) +#define CONNECT_NONBLOCK +#endif + #endif |