Default PRIu32 when missing. Ugly, but meh.
This commit is contained in:
parent
0dd602d5ca
commit
c475eb8d8c
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,10 @@ static const char * DBG_LVL_LIST[] = {"NONE", "FAIL", "ERROR", "WARN", "INFO", "
|
||||||
#define PRIu64 "llu"
|
#define PRIu64 "llu"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(PRIu32)
|
||||||
|
#define PRIu32 "lu"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(__APPLE__) && !defined(__MACH__) && defined(__GNUC__)
|
#if !defined(__APPLE__) && !defined(__MACH__) && defined(__GNUC__)
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue