aboutsummaryrefslogtreecommitdiff
path: root/src/alert.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/alert.cpp
parent39fae6cfddb78d2aefa81a48472f885253cc42f1 (diff)
downloadbitcoin-d5f1e727a8896eec237acbbe4023685eb6b74881.tar.xz
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/alert.cpp')
-rw-r--r--src/alert.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/alert.cpp b/src/alert.cpp
index 4dd3716e80..4429ecadce 100644
--- a/src/alert.cpp
+++ b/src/alert.cpp
@@ -11,7 +11,6 @@
#include "util.h"
#include <algorithm>
-#include <inttypes.h>
#include <map>
#include <boost/algorithm/string/classification.hpp>