14 #ifndef T3_CONFIG_API_H
15 #define T3_CONFIG_API_H
17 #if defined(_WIN32) || defined(__CYGWIN__)
18 #define T3_CONFIG_EXPORT __declspec(dllexport)
19 #define T3_CONFIG_IMPORT __declspec(dllimport)
20 #define T3_CONFIG_LOCAL
22 #if __GNUC__ >= 4 || defined(__clang__)
23 #define T3_CONFIG_EXPORT __attribute__((visibility("default")))
24 #define T3_CONFIG_IMPORT __attribute__((visibility("default")))
25 #define T3_CONFIG_LOCAL __attribute__((visibility("hidden")))
27 #define T3_CONFIG_EXPORT
28 #define T3_CONFIG_IMPORT
29 #define T3_CONFIG_LOCAL
33 #ifdef T3_CONFIG_BUILD_DSO
34 #define T3_CONFIG_API T3_CONFIG_EXPORT
36 #define T3_CONFIG_API T3_CONFIG_IMPORT