Request correct winsock version

WSAStartup first parameter: The high-order byte specifies
the minor version number; the low-order byte specifies the
major version number.
stable-5.2
Nicolas Hake 2009-07-21 15:12:10 +02:00
parent 893cd20109
commit b8b87136fe
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
#include <winsock2.h>
#include <ws2tcpip.h>
#ifndef WINSOCK_VERSION
#define WINSOCK_VERSION 0x22
#define WINSOCK_VERSION MAKEWORD(2,2)
#endif
// Events are Windows-specific
#define HAVE_WINSOCK