Go to the documentation of this file.
12 #ifndef ZYPP_APICONFIG_H
13 #define ZYPP_APICONFIG_H
34 #define ZYPP_DECL_EXPORT __attribute__ ((visibility ("default")))
35 #define ZYPP_DECL_IMPORT __attribute__ ((visibility ("default")))
36 #define ZYPP_DECL_HIDDEN __attribute__ ((visibility ("hidden")))
38 #define ZYPP_DECL_EXPORT
39 #define ZYPP_DECL_IMPORT
40 #define ZYPP_DECL_HIDDEN
43 #ifdef ZYPP_DLL //defined if zypp is compiled as DLL
44 #define ZYPP_API ZYPP_DECL_EXPORT
45 #define ZYPP_LOCAL ZYPP_DECL_HIDDEN
47 #define ZYPP_API ZYPP_DECL_IMPORT
82 #if __GNUC__ - 0 > 3 || (__GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 >= 2)
83 #ifndef ZYPP_DEPRECATED
84 #define ZYPP_DEPRECATED __attribute__ ((deprecated))
87 #ifndef ZYPP_DEPRECATED
88 #define ZYPP_DEPRECATED
92 #endif //ZYPP_APICONFIG_H