commit | 31c075eb14acd1af24629a5a23519df65bb0ebb2 | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Thu Aug 10 12:37:03 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Aug 10 17:06:35 2017 +0000 |
tree | c925490229dead4a23d0abda4b6dcf91dc87164c | |
parent | 5bb4c0a42aaaeb739f73e35f86d1ca7eeb429cc6 [diff] [blame] |
Avoid errors about re-defining __STDC_FORMAT_MACROS Bug: skia: Change-Id: I880e3d5a668743ac12fb0101baca637443e920b4 Reviewed-on: https://skia-review.googlesource.com/33082 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
diff --git a/src/utils/SkJSONWriter.cpp b/src/utils/SkJSONWriter.cpp index 3b92aa4..430c802 100644 --- a/src/utils/SkJSONWriter.cpp +++ b/src/utils/SkJSONWriter.cpp
@@ -6,7 +6,10 @@ */ // Make sure that the PRI format string macros are defined +#ifndef __STDC_FORMAT_MACROS #define __STDC_FORMAT_MACROS +#endif + #include <inttypes.h> #include <stdarg.h>