diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2020-08-30 12:21:53 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2020-09-02 16:30:39 +0200 |
commit | 3e4b32a3e1250d49bd0e45a35b3a08a2f4d07d8f (patch) | |
tree | 8203eec934f180afe2bad1ae54ac77dc8ffd7e69 /lib/setup-win32.h | |
parent | 20d74b7393d5aedcc9d54c92b8ed56cae473d04e (diff) | |
download | curl-3e4b32a3e1250d49bd0e45a35b3a08a2f4d07d8f.tar.gz |
win32: drop support for WinSock version 1, require version 2
IPv6, telnet and now also the multi API require WinSock
version 2 which is available starting with Windows 95.
Therefore we think it is time to drop support for version 1.
Reviewed-by: Marcel Raad
Reviewed-by: Jay Satiro
Reviewed-by: Daniel Stenberg
Reviewed-by: Viktor Szakats
Follow up to #5634
Closes #5854
Diffstat (limited to 'lib/setup-win32.h')
-rw-r--r-- | lib/setup-win32.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/setup-win32.h b/lib/setup-win32.h index 45b584766..d20662aa1 100644 --- a/lib/setup-win32.h +++ b/lib/setup-win32.h @@ -60,7 +60,6 @@ /* * Define USE_WINSOCK to 2 if we have and use WINSOCK2 API, else - * define USE_WINSOCK to 1 if we have and use WINSOCK API, else * undefine USE_WINSOCK. */ @@ -70,7 +69,7 @@ # define USE_WINSOCK 2 #else # ifdef HAVE_WINSOCK_H -# define USE_WINSOCK 1 +# error "WinSock version 1 is no longer supported, version 2 is required!" # endif #endif |