Go to the documentation of this file.
18 #if defined(USE_WINDOWS_DLL_SEMANTICS) || defined(WIN32)
19 # ifdef AWS_CRT_CPP_USE_IMPORT_EXPORT
20 # ifdef AWS_CRT_CPP_EXPORTS
21 # define AWS_CRT_CPP_API __declspec(dllexport)
23 # define AWS_CRT_CPP_API __declspec(dllimport)
26 # define AWS_CRT_CPP_API
27 # endif // AWS_CRT_CPP_USE_IMPORT_EXPORT
29 #else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
30 # if ((__GNUC__ >= 4) || defined(__clang__)) && defined(AWS_CRT_CPP_USE_IMPORT_EXPORT) && \
31 defined(AWS_CRT_CPP_EXPORTS)
32 # define AWS_CRT_CPP_API __attribute__((visibility("default")))
34 # define AWS_CRT_CPP_API
35 # endif // __GNUC__ >= 4 || defined(__clang__)