You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.1 KiB
C

/*=========================================================================
Program: Visualization Toolkit
Module: vtk_jsoncpp.h.in
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef vtk_jsoncpp_h
#define vtk_jsoncpp_h
/* Use the jsoncpp library configured for VTK. */
#define VTK_MODULE_USE_EXTERNAL_vtkjsoncpp 0
#define VTK_JSONCPP_SHARED 1
#if VTK_MODULE_USE_EXTERNAL_vtkjsoncpp
# if !defined(JSON_DLL) && defined(_WIN32) && VTK_JSONCPP_SHARED
# define JSON_DLL
# endif
# include <json/json.h>
#else
// Needed for Windows declspec import logic
# if !defined(JSON_DLL) && defined(_WIN32) && VTK_JSONCPP_SHARED
# define JSON_DLL
# endif
# include <vtkjsoncpp/json/json.h>
#endif
#endif