From 3aaaa44b69e18140533f3b0ef015364c609a5e38 Mon Sep 17 00:00:00 2001 From: Tobias Markmann Date: Tue, 4 Sep 2012 19:43:12 +0200 Subject: Fix compilation of libminiupnpc for VS 2008. License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php diff --git a/3rdParty/LibMiniUPnPc/src/miniupnpc/minissdpc.c b/3rdParty/LibMiniUPnPc/src/miniupnpc/minissdpc.c index e61c1cd..a92c009 100644 --- a/3rdParty/LibMiniUPnPc/src/miniupnpc/minissdpc.c +++ b/3rdParty/LibMiniUPnPc/src/miniupnpc/minissdpc.c @@ -22,7 +22,12 @@ #include #include #include +#if _MSC_VER >= 1600 #include +#else +typedef __int16 int16_t; +typedef unsigned __int16 uint16_t; +#endif #endif #if defined(__amigaos__) || defined(__amigaos4__) #include -- cgit v0.10.2-6-g49f6