diff options
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/vespa/vespalib/util/stringfmt.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/util/stringfmt.h b/vespalib/src/vespa/vespalib/util/stringfmt.h index e9ec1c433bb..df23ad7c20a 100644 --- a/vespalib/src/vespa/vespalib/util/stringfmt.h +++ b/vespalib/src/vespa/vespalib/util/stringfmt.h @@ -3,7 +3,12 @@ #include <vespa/vespalib/stllike/string.h> #include <cstdarg> -#include <cinttypes> + +#ifndef PRId64 + #define PRId64 "ld" + #define PRIu64 "lu" + #define PRIx64 "lx" +#endif namespace vespalib { |