diff options
author | 2017-08-10 12:37:03 -0400 | |
---|---|---|
committer | 2017-08-10 17:06:35 +0000 | |
commit | 31c075eb14acd1af24629a5a23519df65bb0ebb2 (patch) | |
tree | c925490229dead4a23d0abda4b6dcf91dc87164c /src | |
parent | 5bb4c0a42aaaeb739f73e35f86d1ca7eeb429cc6 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/SkJSONWriter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/SkJSONWriter.cpp b/src/utils/SkJSONWriter.cpp index 3b92aa4576..430c802f4b 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> |