On Monday 26 September 2011 14:13:30 Samuli Seppänen wrote:
> Ok, did as suggested for socket.c and win32.h and got the following
> build failure using MSVC:
> 
> <http://pastebin.com/xZ8J2yrq>

---8<------------------------------------------------------------------
c:\users\samuli\openvpn-build\openvpn\win32.h(282) : 
error C2373: 'inet_ntop' : redefinition; different type modifiers
---8<------------------------------------------------------------------

This is hopefully just because MSVC still believes it's building for Vista or 
later. Does the message disappear if you include syshead.h in win32.h? In 
there WINVER is already defined to signal building for XP. If that doesn't 
help, you should also check in <Ws2tcpip.h> if the declaration of inet_ntop is 
#ifdef'd taking WINVER into account.

Heiko
-- 
Heiko Hund | Software Engineer | Phone +49-721-25516-237 | Fax -200
Astaro a Sophos Company | Amalienbadstr. 41 Bau 52 | 76227 Karlsruhe | Germany
Commercial Register: Mannheim HRA 702710 | Headquarter Location: Karlsruhe
 
Represented by the General Partner Astaro Verwaltungs GmbH
Amalienbadstraße 41 Bau 52 | 76227 Karlsruhe | Germany 
Commercial Register: Mannheim HRB 708248 | Executive Board: Gert Hansen,
Markus Hennig, Jan Hichert, Günter Junk, Dr. Frank Nellissen

Reply via email to