diff options
author | Yang Tse <yangsita@gmail.com> | 2009-04-29 15:15:38 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-04-29 15:15:38 +0000 |
commit | d0fe4071a9397c5656e83a59a756bd5e4bca3fff (patch) | |
tree | 987b03b989c5d801809c9864261c4eda7f57ccdd /include/curl/curlbuild.h.in | |
parent | 3d491c470b347d2d799595a73258f9aa7ab22c00 (diff) | |
download | curl-d0fe4071a9397c5656e83a59a756bd5e4bca3fff.tar.gz |
curl_socklen_t follow-up
Diffstat (limited to 'include/curl/curlbuild.h.in')
-rw-r--r-- | include/curl/curlbuild.h.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/curl/curlbuild.h.in b/include/curl/curlbuild.h.in index 8d73b7783..48c7cf1f3 100644 --- a/include/curl/curlbuild.h.in +++ b/include/curl/curlbuild.h.in @@ -112,6 +112,18 @@ /* EXTERNAL INTERFACE SETTINGS FOR CONFIGURE CAPABLE SYSTEMS ONLY */ /* ================================================================ */ +/* Configure process defines this to 1 when it finds out that system */ +/* header file ws2tcpip.h must be included by the external interface. */ +#undef CURL_PULL_WS2TCPIP_H +#ifdef CURL_PULL_WS2TCPIP_H +# ifndef WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +# endif +# include <windows.h> +# include <winsock2.h> +# include <ws2tcpip.h> +#endif + /* Configure process defines this to 1 when it finds out that system */ /* header file sys/types.h must be included by the external interface. */ #undef CURL_PULL_SYS_TYPES_H @@ -149,6 +161,9 @@ /* The size of `curl_socklen_t', as computed by sizeof. */ #undef CURL_SIZEOF_CURL_SOCKLEN_T +/* Data type definition of curl_socklen_t. */ +typedef CURL_TYPEOF_CURL_SOCKLEN_T curl_socklen_t; + /* Signed integral data type used for curl_off_t. */ #undef CURL_TYPEOF_CURL_OFF_T |