Change WINSOCK defines.

This commit is contained in:
Kurt Zeilenga 1998-10-22 23:36:20 +00:00
parent 984a661277
commit 3449d4b8c0
2 changed files with 3 additions and 2 deletions

View file

@ -25,8 +25,6 @@
#ifdef HAVE_WINSOCK2
#include <winsock2.h>
#define EMSGSIZE WSAEMSGSIZE
#define EHOSTUNREACH WSAEHOSTUNREACH
#elif HAVE_WINSOCK
#include <winsock.h>
#endif

View file

@ -45,6 +45,9 @@ typedef char * caddr_t;
/* we have winsock2 */
#define HAVE_WINSOCK2 1
/* we have winsock */
#define HAVE_WINSOCK 1
/* we have <io.h> */
#define HAVE_IO_H 1