summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2019-03-13 19:06:27 +0100
committerTor Egge <Tor.Egge@broadpark.no>2019-03-13 19:06:27 +0100
commit7a9cf38c0520232c5a28b2db6906e6a294decc40 (patch)
treecf788239d039cfb1e0a1c1d7609164a3f9526364 /vespalib
parent820a730d7efede2a84133170639d624f7939e358 (diff)
Remove bad format string macro hack.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/util/stringfmt.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/vespalib/src/vespa/vespalib/util/stringfmt.h b/vespalib/src/vespa/vespalib/util/stringfmt.h
index df23ad7c20a..e9ec1c433bb 100644
--- a/vespalib/src/vespa/vespalib/util/stringfmt.h
+++ b/vespalib/src/vespa/vespalib/util/stringfmt.h
@@ -3,12 +3,7 @@
#include <vespa/vespalib/stllike/string.h>
#include <cstdarg>
-
-#ifndef PRId64
- #define PRId64 "ld"
- #define PRIu64 "lu"
- #define PRIx64 "lx"
-#endif
+#include <cinttypes>
namespace vespalib {