Go to the documentation of this file.
18 #ifndef LGSVL_INTERFACE__VISIBILITY_CONTROL_HPP_
19 #define LGSVL_INTERFACE__VISIBILITY_CONTROL_HPP_
24 #if defined _WIN32 || defined __CYGWIN__
26 #define LGSVL_INTERFACE_EXPORT __attribute__ ((dllexport))
27 #define LGSVL_INTERFACE_IMPORT __attribute__ ((dllimport))
29 #define LGSVL_INTERFACE_EXPORT __declspec(dllexport)
30 #define LGSVL_INTERFACE_IMPORT __declspec(dllimport)
32 #ifdef LGSVL_INTERFACE_BUILDING_LIBRARY
33 #define LGSVL_INTERFACE_PUBLIC LGSVL_INTERFACE_EXPORT
35 #define LGSVL_INTERFACE_PUBLIC LGSVL_INTERFACE_IMPORT
37 #define LGSVL_INTERFACE_PUBLIC_TYPE LGSVL_INTERFACE_PUBLIC
38 #define LGSVL_INTERFACE_LOCAL
40 #define LGSVL_INTERFACE_EXPORT __attribute__ ((visibility("default")))
41 #define LGSVL_INTERFACE_IMPORT
43 #define LGSVL_INTERFACE_PUBLIC __attribute__ ((visibility("default")))
44 #define LGSVL_INTERFACE_LOCAL __attribute__ ((visibility("hidden")))
46 #define LGSVL_INTERFACE_PUBLIC
47 #define LGSVL_INTERFACE_LOCAL
49 #define LGSVL_INTERFACE_PUBLIC_TYPE
52 #endif // LGSVL_INTERFACE__VISIBILITY_CONTROL_HPP_