Index: include/utils/SkJSONCPP.h |
diff --git a/include/utils/SkJSONCPP.h b/include/utils/SkJSONCPP.h |
index 8dbb40c91bedfa3c52a56415a9e041a030a58a28..966d064e9f09d9e4ca6e96457c30d9ace844d0d9 100644 |
--- a/include/utils/SkJSONCPP.h |
+++ b/include/utils/SkJSONCPP.h |
@@ -10,6 +10,8 @@ |
#ifndef SkJSONCPP_DEFINED |
#define SkJSONCPP_DEFINED |
+#ifdef SK_BUILD_JSON_WRITER |
+ |
#ifdef SK_BUILD_FOR_WIN |
// json includes xlocale which generates warning 4530 because we're |
// compiling without exceptions; |
@@ -23,4 +25,6 @@ |
#pragma warning(pop) |
#endif |
-#endif |
+#endif // SK_BUILD_JSON_WRITER |
+ |
+#endif // SkJSONCPP_DEFINED |