StormByte C++ Library 0.0.9999
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
Loading...
Searching...
No Matches
visibility.h
1#pragma once
2
3#include <StormByte/platform.h>
4
5#ifdef WINDOWS
6 #ifdef StormByte_EXPORTS
7 #define STORMBYTE_PUBLIC __declspec(dllexport)
8 #else
9 #define STORMBYTE_PUBLIC __declspec(dllimport)
10 #endif
11 #define STORMBYTE_PRIVATE
12#else
13 #define STORMBYTE_PUBLIC __attribute__ ((visibility ("default")))
14 #define STORMBYTE_PRIVATE __attribute__ ((visibility ("hidden")))
15#endif