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@verizonmedia.com>2019-03-13 21:27:07 +0000
commitf6440a87aad1486669ec0b167a0c618c9d2d2b79 (patch)
treeca667a022b1d72fd2d23093cd3b73dfdb2441561 /vespalib
parent9dc4498a33c4e4529466b118df492f465b84517e (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 {