Go to the documentation of this file. 12 #ifndef ZYPP_GLOBALS_H 13 #define ZYPP_GLOBALS_H 26 #define LEGACY(CL) ( CL < 100 && LIBZYPP_VERSION_MAJOR <= CL ) || ( CL < 10000 && LIBZYPP_SOVERSION <= CL ) || LIBZYPP_VERSION <= CL 45 #define ZYPP_DECL_EXPORT __attribute__ ((visibility ("default"))) 46 #define ZYPP_DECL_IMPORT __attribute__ ((visibility ("default"))) 47 #define ZYPP_DECL_HIDDEN __attribute__ ((visibility ("hidden"))) 49 #define ZYPP_DECL_EXPORT 50 #define ZYPP_DECL_IMPORT 51 #define ZYPP_DECL_HIDDEN 54 #ifdef ZYPP_DLL //defined if zypp is compiled as DLL 55 #define ZYPP_API ZYPP_DECL_EXPORT 56 #define ZYPP_TESTS ZYPP_DECL_EXPORT 57 #define ZYPP_LOCAL ZYPP_DECL_HIDDEN 59 #define ZYPP_API ZYPP_DECL_IMPORT 60 #define ZYPP_TESTS ZYPP_DECL_IMPORT 67 #define ZYPP_API_DEPTESTOMATIC ZYPP_API 100 #if __GNUC__ - 0 > 3 || (__GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 >= 2) 101 #ifndef ZYPP_DEPRECATED 102 #define ZYPP_DEPRECATED __attribute__ ((deprecated)) 105 #ifndef ZYPP_DEPRECATED 106 #define ZYPP_DEPRECATED