libUPnP
1.6.24
|
Defines constants that for some reason are not defined on some systems. More...
Go to the source code of this file.
Macros | |
#define | EXPORT_SPEC |
Export functions on WIN32 DLLs. More... | |
#define | UPNP_INLINE inline |
Declares an inline function. More... | |
#define | PRIzd "zd" |
Supply the PRId64 printf() macro. More... | |
#define | PRIzu "zu" |
#define | PRIzx "zx" |
Defines constants that for some reason are not defined on some systems.
#define EXPORT_SPEC |
Export functions on WIN32 DLLs.
Every funtion that belongs to the library API must use this definition upon declaration or it will not be exported on WIN32 DLLs.
#define PRIzd "zd" |
Supply the PRId64 printf() macro.
MSVC still does not know about this.
Supply the PRIz* printf() macros.
These macros were invented so that we can live a little longer with MSVC lack of C99. "z" is the correct printf() size specifier for the size_t type.
Referenced by http_SendMessage().
#define UPNP_INLINE inline |
Declares an inline function.
Surprisingly, there are some compilers that do not understand the inline keyword. This definition makes the use of this keyword portable to these systems.
Referenced by DiffMillis(), get_miniserver_stopsock(), memptr_cmp_nocase(), parse_scheme(), and PrintThreadPoolStats().