michael@0: /* michael@0: * Copyright 2013 Google Inc. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: * michael@0: * A common place to put the jsoncpp library includes, as opposed to littering michael@0: * the pragmas repeatedly through our code. michael@0: */ michael@0: #ifndef SkJSONCPP_DEFINED michael@0: #define SkJSONCPP_DEFINED michael@0: michael@0: #ifdef SK_BUILD_FOR_WIN michael@0: // json includes xlocale which generates warning 4530 because we're michael@0: // compiling without exceptions; michael@0: // see https://code.google.com/p/skia/issues/detail?id=1067 michael@0: #pragma warning(push) michael@0: #pragma warning(disable : 4530) michael@0: #endif michael@0: #include "json/reader.h" michael@0: #include "json/value.h" michael@0: #ifdef SK_BUILD_FOR_WIN michael@0: #pragma warning(pop) michael@0: #endif michael@0: michael@0: #endif