diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-08-29 14:39:33 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-08-29 14:39:33 +0000 |
commit | 5acadc9cd7a1ff40ffa8d57214c90d8c788b2b03 (patch) | |
tree | 3c417bc272e9a97f8ae763406c8151cea2fa7d74 /lib/setup.h | |
parent | 2ff609dd43cb5c1c0da893c080132a48a2d4c73b (diff) |
David McCreedy added CURLOPT_SOCKOPTFUNCTION and CURLOPT_SOCKOPTDATA to
allow applications to set their own socket options.
Diffstat (limited to 'lib/setup.h')
-rw-r--r-- | lib/setup.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/setup.h b/lib/setup.h index 3538256c4..1e64c928a 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -278,19 +278,6 @@ int fileno( FILE *stream); #endif /* WIN32 */ -#ifndef curl_socket_typedef -/* now typedef our socket type */ -#ifdef WIN32 -typedef SOCKET curl_socket_t; -#define CURL_SOCKET_BAD INVALID_SOCKET -#else -typedef int curl_socket_t; -#define CURL_SOCKET_BAD -1 -#endif -#define curl_socket_typedef -#endif /* curl_socket_typedef */ - - #if defined(WIN32) && !defined(__CYGWIN__) && !defined(USE_ARES) && \ !defined(__LCC__) /* lcc-win32 doesn't have _beginthreadex() */ #ifdef ENABLE_IPV6 |