aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-02-22 09:45:15 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-02-22 11:36:37 +0100
commitd5f1e727a8896eec237acbbe4023685eb6b74881 (patch)
tree603a8610e474ae148a4ef2fb2a30d64e60367518 /src/init.cpp
parent39fae6cfddb78d2aefa81a48472f885253cc42f1 (diff)
Don't use PRIx64 formatting derives from inttypes.h
As the tinyformat-based formatting system (introduced in b77dfdc) is type-safe, no special format characters are needed to specify sizes. Tinyformat can support (ignore) the C99 prefixes such as "ll" but chokes on MSVC's inttypes.h defines prefixes such as "I64X". So don't include inttypes.h and define our own for compatibility. (an alternative would be to sweep the entire codebase using sed -i to get rid of the size specifiers but this has less diff impact)
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index c05ed4356c..4cc04f5205 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -24,7 +24,6 @@
#include "walletdb.h"
#endif
-#include <inttypes.h>
#include <stdint.h>
#ifndef WIN32