StormByte C++ Library: Config module 1.0.1.9999
StormByte-Config is the configuration module of the StormByte C++ suite.
Loading...
Searching...
No Matches
visibility.h
1/*
2 * Copyright (C) 2024-2026 David C. Manuelda (StormBytePP)
3 *
4 * This file is part of StormByte-Config.
5 *
6 * StormByte-Config is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General Public License version 3
8 * or later, as published by the Free Software Foundation.
9 *
10 * StormByte-Config is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with StormByte-Config. If not, see
17 * <https://www.gnu.org/licenses/lgpl-3.0.html>.
18 */
19
20#pragma once
21#include <StormByte/platform.h>
22#ifdef WINDOWS
23 #ifdef StormByte_Config_EXPORTS
24 #define STORMBYTE_CONFIG_PUBLIC __declspec(dllexport)
25 #else
26 #define STORMBYTE_CONFIG_PUBLIC __declspec(dllimport)
27 #endif
28 #define STORMBYTE_CONFIG_PRIVATE
29#else
30 #define STORMBYTE_CONFIG_PUBLIC __attribute__ ((visibility ("default")))
31 #define STORMBYTE_CONFIG_PRIVATE __attribute__ ((visibility ("hidden")))
32#endif