]> git.sur5r.net Git - openldap/commitdiff
Change WINSOCK defines.
authorKurt Zeilenga <kurt@openldap.org>
Thu, 22 Oct 1998 23:36:20 +0000 (23:36 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 22 Oct 1998 23:36:20 +0000 (23:36 +0000)
include/ac/socket.h
include/portable.h.nt

index b86b46dc59d96c4d65d7277474b0b2fd02db7372..c8c7e28140a26991c86485f29dd88c23d772ebb7 100644 (file)
@@ -25,8 +25,6 @@
 
 #ifdef HAVE_WINSOCK2
 #include <winsock2.h>
-#define EMSGSIZE WSAEMSGSIZE
-#define EHOSTUNREACH WSAEHOSTUNREACH
 #elif HAVE_WINSOCK
 #include <winsock.h>
 #endif
index 6b8562c66b0a026e65aaf3a36c3e22a2fde27c40..dac09fdc43a969caee6e7aa345b1210b6facdc49 100644 (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