diff options
author | Gunter Knauf <gk@gknw.de> | 2007-10-09 22:10:17 +0000 |
---|---|---|
committer | Gunter Knauf <gk@gknw.de> | 2007-10-09 22:10:17 +0000 |
commit | 50b3545ada98e078b93fb2d0c8a39daa450eb9e4 (patch) | |
tree | 99ca8aa9f13ebdefb38f9847914b9679433f0681 /lib | |
parent | baac8065cf852b3a0a2fa54861302e8983dbca42 (diff) |
fix socklen_t for MSVC6 & 7.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/config-win32.h | 2 |
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 |