MeteoIODoc 2.11.0
exports.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2/***********************************************************************************/
3/* Copyright 2011 WSL Institute for Snow and Avalanche Research SLF-DAVOS */
4/***********************************************************************************/
5/* This file is part of MeteoIO.
6 MeteoIO is free software: you can redistribute it and/or modify
7 it under the terms of the GNU Lesser General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 MeteoIO is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU Lesser General Public License for more details.
15
16 You should have received a copy of the GNU Lesser General Public License
17 along with MeteoIO. If not, see <http://www.gnu.org/licenses/>.
18*/
19#if defined(_MSC_VER)
20 #if defined(OSG_LIBRARY_STATIC)
21 #define METEOIO_EXPORT
22 #elif defined(COMPILE_PLUGIN)
23 #define METEOIO_EXPORT __declspec(dllexport)
24 #else
25 #define METEOIO_EXPORT __declspec(dllimport)
26 #endif
27#else
28 #define METEOIO_EXPORT
29#endif