33 #ifndef _xmlwrapp_export_h_
34 #define _xmlwrapp_export_h_
36 #ifdef HAVE_VISIBILITY
37 #define XMLWRAPP_API __attribute__ ((visibility("default")))
38 #define XSLTWRAPP_API __attribute__ ((visibility("default")))
44 #if defined(__clang__)
45 #if defined(__has_extension) && __has_extension(attribute_deprecated_with_message)
46 #define XMLWRAPP_DEPRECATED(msg) __attribute__((deprecated(msg)))
48 #define XMLWRAPP_DEPRECATED(msg) __attribute__((deprecated))
50 #elif defined(__GNUC__)
51 #define XMLWRAPP_DEPRECATED(msg) __attribute__((deprecated))
52 #elif defined(__VISUALC__) && (__VISUALC__ >= 1300)
53 #define XMLWRAPP_DEPRECATED(msg) __declspec(deprecated)
55 #define XMLWRAPP_DEPRECATED(msg)
58 #endif // _xmlwrapp_export_h_