OGS
ExportSymbol.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#ifndef OGS_EXPORT_SYMBOL
7#if defined(WIN32) || defined(_WIN32)
8#define OGS_EXPORT_SYMBOL __declspec(dllexport)
9#else
10#define OGS_EXPORT_SYMBOL __attribute__((visibility("default")))
11#endif
12#endif // defined(OGS_EXPORT_SYMBOL)