1 --- libupnp.old/upnp/inc/upnp.h 2008-03-09 01:54:58.000000000 +0100
2 +++ libupnp/upnp/inc/upnp.h 2010-08-11 12:40:37.000000000 +0200
4 typedef __int64 int64_t;
8 - #ifdef UPNP_USE_BCBPP
9 + #elif defined UPNP_USE_BCBPP
10 /* define some things Borland Builder doesn't know */
11 #define UPNP_INLINE inline
12 typedef __int64 int64_t;
13 #warning The Borland C compiler is probably broken on PRId64, please someone provide a proper fix here
17 + #define UPNP_INLINE inline
22 --- libupnp.old/upnp/src/inc/unixutil.h 2008-02-10 02:55:34.000000000 +0100
23 +++ libupnp/upnp/src/inc/unixutil.h 2010-08-11 12:48:37.000000000 +0200
26 #include <sys/socket.h>
28 - typedef int socklen_t;
29 + //typedef int socklen_t;
30 + #if !defined(UNDER_CE)
31 + # define _NO_OLDNAMES 1
34 + #include <winsock2.h>
35 + #include <ws2tcpip.h>
36 + #define ENETUNREACH WSAENETUNREACH
37 + #define net_errno (WSAGetLastError())
38 #define EAFNOSUPPORT 97