diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-02-22 09:45:15 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-02-22 11:36:37 +0100 |
commit | d5f1e727a8896eec237acbbe4023685eb6b74881 (patch) | |
tree | 603a8610e474ae148a4ef2fb2a30d64e60367518 /src/rpcnet.cpp | |
parent | 39fae6cfddb78d2aefa81a48472f885253cc42f1 (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/rpcnet.cpp')
-rw-r--r-- | src/rpcnet.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rpcnet.cpp b/src/rpcnet.cpp index b764349338..738b966b8a 100644 --- a/src/rpcnet.cpp +++ b/src/rpcnet.cpp @@ -15,8 +15,6 @@ #include "wallet.h" // for getinfo #endif -#include <inttypes.h> - #include <boost/foreach.hpp> #include "json/json_spirit_value.h" |