Utilities
Utilities header only library
API.h
1 #ifndef UTILS_API_H
2 #define UTILS_API_H
3 
4 #ifdef _WIN32
5 # ifdef UTILS_STATIC
6 # define UTILS_API
7 # elif UTILS_EXPORT
8 # define UTILS_API __declspec(dllexport)
9 # else
10 # define UTILS_API __declspec(dllimport)
11 # endif
12 #else
13 # define UTILS_API __attribute__ ((visibility("default")))
14 #endif
15 #endif /* !UTILS_API_H */