19 #ifndef INCLUDE_RCF_EXPORT_HPP
20 #define INCLUDE_RCF_EXPORT_HPP
22 #if defined(__GNUC__) && __GNUC__ >= 4
24 #define RCF_EXPORT __attribute__((visibility("default")))
26 #define RCF_EXPORT __attribute__((visibility("default")))
28 #elif defined(__GNUC__)
36 #define RCF_EXPORT __declspec(dllexport)
42 #if defined(RCF_BUILD_DLL) && defined(_MSC_VER) && !defined(_DLL)
43 #error "Error: DLL builds of RCF require dynamic runtime linking. Select one of the DLL options in Properties -> C/C++ -> Code Generation -> Runtime Library."
46 #endif // ! INCLUDE_RCF_EXPORT_HPP