Go to the documentation of this file.
11#if defined UPNP_LARGEFILE_SENSITIVE && _FILE_OFFSET_BITS + 0 != 64
13 #warning libupnp requires largefile mode - use AC_SYS_LARGEFILE
15 #error libupnp requires largefile mode - use AC_SYS_LARGEFILE
23 #if defined _MSC_VER || defined __BORLANDC__
24 #ifdef UPNP_STATIC_LIB
25 #define UPNP_EXPORT_SPEC
27 #ifdef LIBUPNP_EXPORTS
30 #define UPNP_EXPORT_SPEC __declspec(dllexport)
32 #define UPNP_EXPORT_SPEC __declspec(dllimport)
36 #define UPNP_EXPORT_SPEC
46 #ifdef UPNP_USE_MSVCPP
48 #define UPNP_INLINE _inline
49typedef __int64 int64_t;
62typedef __int64 int64_t;
63 #warning The Borland C compiler is probably broken on PRId64,
64 #warning please someone provide a proper fix here
73 #define UPNP_INLINE inline
89 #ifdef UPNP_STATIC_LIB
90 #define UPNP_EXPORT_SPEC
92 #ifdef LIBUPNP_EXPORTS
95 #define UPNP_EXPORT_SPEC \
96 __attribute__((visibility("default")))
98 #define UPNP_EXPORT_SPEC
109 #ifdef __STRICT_ANSI__
110 #define UPNP_INLINE __inline__
112 #define UPNP_INLINE inline