From 994ad94fde585c7847b3fcc2af4e79bfc0259896 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Tue, 25 Jul 2017 15:44:48 +0200 Subject: [PATCH] Fixed compiling on < C++11 compilers --- lib/defines.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/defines.h b/lib/defines.h index 4a23cf9b..33870c95 100644 --- a/lib/defines.h +++ b/lib/defines.h @@ -21,6 +21,10 @@ #include "config.h" static const char * DBG_LVL_LIST[] = {"NONE", "FAIL", "ERROR", "WARN", "INFO", "MEDIUM", "HIGH", "VERYHIGH", "EXTREME", "INSANE", "DONTEVEN"}; +#if !defined(PRIu64) +#define PRIu64 "llu" +#endif + #if !defined(__APPLE__) && !defined(__MACH__) && defined(__GNUC__) #include