Go to the documentation of this file. 17 #ifndef PURE_PURSUIT__VISIBILITY_CONTROL_HPP_ 18 #define PURE_PURSUIT__VISIBILITY_CONTROL_HPP_ 22 #if defined(PURE_PURSUIT_BUILDING_DLL) || defined(PURE_PURSUIT_EXPORTS) 23 #define PURE_PURSUIT_PUBLIC __declspec(dllexport) 24 #define PURE_PURSUIT_LOCAL 25 #else // defined(PURE_PURSUIT_BUILDING_DLL) || defined(PURE_PURSUIT_EXPORTS) 26 #define PURE_PURSUIT_PUBLIC __declspec(dllimport) 27 #define PURE_PURSUIT_LOCAL 28 #endif // defined(PURE_PURSUIT_BUILDING_DLL) || defined(PURE_PURSUIT_EXPORTS) 29 #elif defined(__linux__) 30 #define PURE_PURSUIT_PUBLIC __attribute__((visibility("default"))) 31 #define PURE_PURSUIT_LOCAL __attribute__((visibility("hidden"))) 32 #elif defined(__APPLE__) 33 #define PURE_PURSUIT_PUBLIC __attribute__((visibility("default"))) 34 #define PURE_PURSUIT_LOCAL __attribute__((visibility("hidden"))) 35 #else // defined(LINUX) 36 #error "Unsupported Build Configuration" 37 #endif // defined(WINDOWS) 39 #endif // PURE_PURSUIT__VISIBILITY_CONTROL_HPP_