aboutsummaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-10-09 22:10:17 +0000
committerGunter Knauf <gk@gknw.de>2007-10-09 22:10:17 +0000
commit50b3545ada98e078b93fb2d0c8a39daa450eb9e4 (patch)
tree99ca8aa9f13ebdefb38f9847914b9679433f0681 /lib/config-win32.h
parentbaac8065cf852b3a0a2fa54861302e8983dbca42 (diff)
fix socklen_t for MSVC6 & 7.
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r--lib/config-win32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index bd66b56c9..0bc736431 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -291,7 +291,7 @@
#endif
/* Define to 'int' if socklen_t is not an available 'typedefed' type */
-#ifndef HAVE_WS2TCPIP_H
+#if defined(_MSC_VER) && (_MSC_VER <= 1400)
#define socklen_t int
#endif