Go to the documentation of this file. 15 #ifndef TRAJECTORY_SPOOFER__VISIBILITY_CONTROL_HPP_ 16 #define TRAJECTORY_SPOOFER__VISIBILITY_CONTROL_HPP_ 20 #if defined(TRAJECTORY_SPOOFER_BUILDING_DLL) || defined(TRAJECTORY_SPOOFER_EXPORTS) 21 #define TRAJECTORY_SPOOFER_PUBLIC __declspec(dllexport) 22 #define TRAJECTORY_SPOOFER_LOCAL 23 #else // defined(TRAJECTORY_SPOOFER_BUILDING_DLL) || defined(TRAJECTORY_SPOOFER_EXPORTS) 24 #define TRAJECTORY_SPOOFER_PUBLIC __declspec(dllimport) 25 #define TRAJECTORY_SPOOFER_LOCAL 26 #endif // defined(TRAJECTORY_SPOOFER_BUILDING_DLL) || defined(TRAJECTORY_SPOOFER_EXPORTS) 27 #elif defined(__linux__) 28 #define TRAJECTORY_SPOOFER_PUBLIC __attribute__((visibility("default"))) 29 #define TRAJECTORY_SPOOFER_LOCAL __attribute__((visibility("hidden"))) 30 #elif defined(__APPLE__) 31 #define TRAJECTORY_SPOOFER_PUBLIC __attribute__((visibility("default"))) 32 #define TRAJECTORY_SPOOFER_LOCAL __attribute__((visibility("hidden"))) 34 #error "Unsupported Build Configuration" 37 #endif // TRAJECTORY_SPOOFER__VISIBILITY_CONTROL_HPP_