Go to the documentation of this file. 12 #ifndef ZYPP_GLOBALS_H 13 #define ZYPP_GLOBALS_H 15 #include <zypp-core/base/Easy.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_LOCAL ZYPP_DECL_HIDDEN 58 #define ZYPP_API ZYPP_DECL_IMPORT 93 #if __GNUC__ - 0 > 3 || (__GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 >= 2) 94 #ifndef ZYPP_DEPRECATED 95 #define ZYPP_DEPRECATED __attribute__ ((deprecated)) 98 #ifndef ZYPP_DEPRECATED 99 #define ZYPP_DEPRECATED