From 4abbd5a8a408680ccf846a6d302b795594add982 Mon Sep 17 00:00:00 2001 From: Marcelo Roberto Jimenez Date: Sat, 23 Dec 2006 21:05:50 +0000 Subject: [PATCH] SF Patch tracker [ 1581161 ] VStudio2005 patch Submitted By: David Maass - darkservant git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@103 119443c7-1b9e-41f8-b6fc-b9c35fce742c --- ChangeLog | 4 ++++ THANKS | 1 + upnp/src/genlib/miniserver/miniserver.c | 2 +- upnp/src/inc/inet_pton.h | 2 +- upnp/src/inc/unixutil.h | 2 +- upnp/src/inet_pton.c | 2 +- 6 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 21eff30..bbf8c75 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-12-23 Marcelo Jimenez + + * David Maass's patch for VStudio2005 compilation failure. + 2006-12-23 Marcelo Jimenez * Erik Johansson's patch for invalid xml output. diff --git a/THANKS b/THANKS index 4779d13..b157ccb 100644 --- a/THANKS +++ b/THANKS @@ -8,6 +8,7 @@ exempt of errors. - Arno Willig - Chaos +- David Maass - Erik Johansson - Eric Tanguy - Erwan Velu diff --git a/upnp/src/genlib/miniserver/miniserver.c b/upnp/src/genlib/miniserver/miniserver.c index 2ddc385..433a85b 100644 --- a/upnp/src/genlib/miniserver/miniserver.c +++ b/upnp/src/genlib/miniserver/miniserver.c @@ -45,7 +45,7 @@ #else #include - #define socklen_t int + typedef int socklen_t; #define EAFNOSUPPORT 97 #endif #include "unixutil.h" diff --git a/upnp/src/inc/inet_pton.h b/upnp/src/inc/inet_pton.h index df59b6d..ba91c34 100644 --- a/upnp/src/inc/inet_pton.h +++ b/upnp/src/inc/inet_pton.h @@ -7,7 +7,7 @@ #include #include #include -#define socklen_t int +typedef int socklen_t; #define EAFNOSUPPORT 97 /* diff --git a/upnp/src/inc/unixutil.h b/upnp/src/inc/unixutil.h index 08e41bd..0f9624f 100644 --- a/upnp/src/inc/unixutil.h +++ b/upnp/src/inc/unixutil.h @@ -40,7 +40,7 @@ #else #define XINLINE - #define socklen_t int + typedef int socklen_t; #define EAFNOSUPPORT 97 #endif diff --git a/upnp/src/inet_pton.c b/upnp/src/inet_pton.c index d43382e..489391c 100644 --- a/upnp/src/inet_pton.c +++ b/upnp/src/inet_pton.c @@ -28,7 +28,7 @@ #include #include #include -#define socklen_t int +typedef int socklen_t; #define EAFNOSUPPORT 97 /* * WARNING: Don't even consider trying to compile this on a system where