Go to the documentation of this file.
17 #if defined(BLOSC_SHARED_LIBRARY)
19 #define BLOSC_EXPORT __declspec(dllexport)
20 #elif (defined(__GNUC__) && __GNUC__ >= 4) || defined(__clang__)
21 #if defined(_WIN32) || defined(__CYGWIN__) || defined(__MINGW32__)
22 #define BLOSC_EXPORT __attribute__((dllexport))
24 #define BLOSC_EXPORT __attribute__((visibility("default")))
27 #error Cannot determine how to define BLOSC_EXPORT for this compiler.
33 #if defined(__GNUC__) || defined(__clang__)
34 #define BLOSC_NO_EXPORT __attribute__((visibility("hidden")))
36 #define BLOSC_NO_EXPORT
40 #if defined(BLOSC_TESTING)
41 #undef BLOSC_NO_EXPORT
42 #define BLOSC_NO_EXPORT BLOSC_EXPORT