From d5f1e727a8896eec237acbbe4023685eb6b74881 Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Sat, 22 Feb 2014 09:45:15 +0100 Subject: 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) --- src/net.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/net.h') diff --git a/src/net.h b/src/net.h index 8995f70da4..da590f89e1 100644 --- a/src/net.h +++ b/src/net.h @@ -18,7 +18,6 @@ #include "util.h" #include -#include #include #ifndef WIN32 -- cgit v1.2.3