mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
33 lines
1.1 KiB
C
33 lines
1.1 KiB
C
/*=========================================================================
|
|
|
|
Program: ParaView
|
|
Module: vtkSMMessage.h
|
|
|
|
Copyright (c) Kitware, Inc.
|
|
All rights reserved.
|
|
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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_protobuf_h
|
|
#define vtk_protobuf_h
|
|
|
|
/* Use the protobuf library configured for VTK. */
|
|
#cmakedefine VTK_USE_SYSTEM_PROTOBUF
|
|
#ifndef VTK_USE_SYSTEM_PROTOBUF
|
|
# include "vtkConfigure.h"
|
|
# if defined(_MSC_VER) && defined(VTK_BUILD_SHARED_LIBS)
|
|
// When building on Windows with shared libraries enabled, any VTK/ParaView code
|
|
// that imports the protobuf headers needs to have this definitions otherwise
|
|
// the export signatures will not match and we get tons of warnings.
|
|
# define PROTOBUF_USE_DLLS
|
|
# endif
|
|
#endif
|
|
|
|
/* Include the top-level header here. */
|
|
|
|
#endif
|