Ignore:
Timestamp:
Apr 21, 2009, 1:12:55 AM (13 years ago)
Author:
charles
Message:

(trunk) upgrade miniupnp to miniupnpc-1.3, which has small portability fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/third-party/miniupnp/upnpcommands.h

    r7837 r8263  
    1 /* $Id: upnpcommands.h,v 1.16 2008/10/14 18:05:28 nanard Exp $ */
     1/* $Id: upnpcommands.h,v 1.17 2009/04/17 21:21:19 nanard Exp $ */
    22/* Miniupnp project : http://miniupnp.free.fr/
    33 * Author : Thomas Bernard
     
    2020#endif
    2121
    22 LIBSPEC unsigned int
     22#if (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)
     23#define UNSIGNED_INTEGER unsigned long long
     24#define STRTOUI strtoull
     25#else
     26#define UNSIGNED_INTEGER unsigned int
     27#define STRTOUI strtoul
     28#endif
     29
     30LIBSPEC UNSIGNED_INTEGER
    2331UPNP_GetTotalBytesSent(const char * controlURL,
    2432                                        const char * servicetype);
    2533
    26 LIBSPEC unsigned int
     34LIBSPEC UNSIGNED_INTEGER
    2735UPNP_GetTotalBytesReceived(const char * controlURL,
    2836                                                const char * servicetype);
    2937
    30 LIBSPEC unsigned int
     38LIBSPEC UNSIGNED_INTEGER
    3139UPNP_GetTotalPacketsSent(const char * controlURL,
    3240                                        const char * servicetype);
    3341
    34 LIBSPEC unsigned int
     42LIBSPEC UNSIGNED_INTEGER
    3543UPNP_GetTotalPacketsReceived(const char * controlURL,
    3644                                        const char * servicetype);
Note: See TracChangeset for help on using the changeset viewer.