mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-02 21:19:53 -05:00
Change WINSOCK defines.
This commit is contained in:
parent
984a661277
commit
3449d4b8c0
2 changed files with 3 additions and 2 deletions
|
|
@ -25,8 +25,6 @@
|
|||
|
||||
#ifdef HAVE_WINSOCK2
|
||||
#include <winsock2.h>
|
||||
#define EMSGSIZE WSAEMSGSIZE
|
||||
#define EHOSTUNREACH WSAEHOSTUNREACH
|
||||
#elif HAVE_WINSOCK
|
||||
#include <winsock.h>
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue