SA_Support
Sapphire's Suite's C++ Support library.
Loading...
Searching...
No Matches
ModuleAPI.hpp
Go to the documentation of this file.
1// Copyright (c) 2023 Sapphire's Suite. All Rights Reserved.
2
3#pragma once
4
5#ifndef SAPPHIRE_SUPPORT_MODULE_GUARD
6#define SAPPHIRE_SUPPORT_MODULE_GUARD
7
9
22#if SA_WIN
23
25 #define SA_MODUE_EXPORT __declspec(dllexport)
26
28 #define SA_MODUE_IMPORT __declspec(dllimport)
29
30#elif SA_UNIX || SA_OSX || SA_ANDROID
31
33 #define SA_MODUE_EXPORT __attribute__((visibility("default")))
34
36 #define SA_MODUE_IMPORT
37
38#endif
39
40
44#endif // GUARD
Platform support definition file.