mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Unset HAVE_STRUCT_SOCKADDR_STORAGE when using msvc 6.0 with no PSDK
This commit is contained in:
parent
a6494602fd
commit
1cc98ab50f
12
lib/setup.h
12
lib/setup.h
@ -275,6 +275,18 @@ typedef int curl_socket_t;
|
|||||||
#define CURL_NO__BEGINTHREADEX
|
#define CURL_NO__BEGINTHREADEX
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* msvc 6.0 does not have struct sockaddr_storage and
|
||||||
|
* does not define IPPROTO_ESP in winsock2.h. But both
|
||||||
|
* are available if PSDK is properly installed.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#if !defined(HAVE_WINSOCK2_H) || ((_MSC_VER < 1300) && !defined(IPPROTO_ESP))
|
||||||
|
#undef HAVE_STRUCT_SOCKADDR_STORAGE
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef mpeix
|
#ifdef mpeix
|
||||||
#define IOCTL_3_ARGS
|
#define IOCTL_3_ARGS
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user