Default PRIu32 when missing. Ugly, but meh.

This commit is contained in:
Thulinma 2018-03-21 14:39:05 +01:00
parent 0dd602d5ca
commit c475eb8d8c

View file

@ -26,6 +26,10 @@ static const char * DBG_LVL_LIST[] = {"NONE", "FAIL", "ERROR", "WARN", "INFO", "
#define PRIu64 "llu"
#endif
#if !defined(PRIu32)
#define PRIu32 "lu"
#endif
#if !defined(__APPLE__) && !defined(__MACH__) && defined(__GNUC__)
#include <errno.h>