diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2019-03-13 19:06:27 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@verizonmedia.com> | 2019-03-13 21:27:07 +0000 |
commit | f6440a87aad1486669ec0b167a0c618c9d2d2b79 (patch) | |
tree | ca667a022b1d72fd2d23093cd3b73dfdb2441561 /vespalog | |
parent | 9dc4498a33c4e4529466b118df492f465b84517e (diff) |
Remove bad format string macro hack.
Diffstat (limited to 'vespalog')
-rw-r--r-- | vespalog/src/vespa/log/log.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/vespalog/src/vespa/log/log.h b/vespalog/src/vespa/log/log.h index 4bb13f7d791..ba2408240f3 100644 --- a/vespalog/src/vespa/log/log.h +++ b/vespalog/src/vespa/log/log.h @@ -7,6 +7,7 @@ #include <new> // for placement new #include <cstdlib> // for malloc #include <cstring> // for memset +#include <cinttypes> /** * If this macro is defined, the regular LOG calls will go through the @@ -287,9 +288,3 @@ extern void log_abort(const char *message, #else #define LOG_ASSERT(expr) #endif // #ifndef NDEBUG - -#ifndef PRId64 - #define PRId64 "ld" - #define PRIu64 "lu" - #define PRIx64 "lx" -#endif |