From eb7b33db2b165b3f90418f581acdffd4241732dd Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Thu, 16 Apr 2015 12:33:53 +0200 Subject: [PATCH] Try to appease gcc in travis regarding printf format specifiers --- io.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/io.h b/io.h index bbe060180..83a64a65c 100644 --- a/io.h +++ b/io.h @@ -23,6 +23,9 @@ #include #include #include +#ifdef __cplusplus +#define __STDC_FORMAT_MACROS 1 +#endif #include #include "endian.h" #include "ethash.h"