Marc Kupietz | 4422923 | 2024-08-05 15:00:20 +0200 | [diff] [blame] | 1 | // export.h |
2 | |||||
3 | #ifndef EXPORT_H | ||||
4 | #define EXPORT_H | ||||
5 | |||||
6 | #ifdef _WIN32 | ||||
7 | #ifdef BUILDING_DLL | ||||
8 | #define DLL_EXPORT __declspec(dllexport) | ||||
9 | #else | ||||
10 | #define DLL_EXPORT __declspec(dllimport) | ||||
11 | #endif | ||||
12 | #else | ||||
13 | #define DLL_EXPORT __attribute__((visibility("default"))) | ||||
14 | #endif | ||||
15 | |||||
16 | #endif // EXPORT_H |