commit-bot@chromium.org | e3bb3bc | 2013-12-03 18:16:48 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2013 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | * |
| 7 | * A common place to put the jsoncpp library includes, as opposed to littering |
| 8 | * the pragmas repeatedly through our code. |
| 9 | */ |
| 10 | #ifndef SkJSONCPP_DEFINED |
| 11 | #define SkJSONCPP_DEFINED |
| 12 | |
| 13 | #ifdef SK_BUILD_FOR_WIN |
| 14 | // json includes xlocale which generates warning 4530 because we're |
| 15 | // compiling without exceptions; |
| 16 | // see https://code.google.com/p/skia/issues/detail?id=1067 |
| 17 | #pragma warning(push) |
| 18 | #pragma warning(disable : 4530) |
| 19 | #endif |
| 20 | #include "json/reader.h" |
| 21 | #include "json/value.h" |
commit-bot@chromium.org | 97133ad | 2014-05-20 17:35:10 +0000 | [diff] [blame] | 22 | #include "json/writer.h" |
commit-bot@chromium.org | e3bb3bc | 2013-12-03 18:16:48 +0000 | [diff] [blame] | 23 | #ifdef SK_BUILD_FOR_WIN |
| 24 | #pragma warning(pop) |
| 25 | #endif |
| 26 | |
commit-bot@chromium.org | 61744ec | 2014-05-16 13:15:41 +0000 | [diff] [blame] | 27 | #endif // SkJSONCPP_DEFINED |