Imported Upstream version 2.40.1
[platform/upstream/libxml++.git] / libxml++config.h.in
1 #ifndef _LIBXMLPP_CONFIG_H
2 #define _LIBXMLPP_CONFIG_H
3
4 #include <glibmmconfig.h>
5
6 /* Define to omit deprecated API from the library. */
7 #undef LIBXMLXX_DISABLE_DEPRECATED
8
9 /* Defined if the C++ library supports std::exception_ptr. */
10 #undef LIBXMLXX_HAVE_EXCEPTION_PTR
11
12 /* This is always set. This is only for backwards compatibility. */
13 #undef LIBXMLCPP_EXCEPTIONS_ENABLED
14
15 /* Major version number of libxml++. */
16 #undef LIBXMLXX_MAJOR_VERSION
17
18 /* Minor version number of libxml++. */
19 #undef LIBXMLXX_MINOR_VERSION
20
21 /* Micro version number of libxml++. */
22 #undef LIBXMLXX_MICRO_VERSION
23
24 #ifdef GLIBMM_DLL
25   #if defined(LIBXMLPP_BUILD) && defined(_WINDLL)
26     // Do not dllexport as it is handled by gendef on MSVC
27     #define LIBXMLPP_API
28   #elif !defined(LIBXMLPP_BUILD)
29     #define LIBXMLPP_API __declspec(dllimport)
30   #else
31     /* Build a static library */
32     #define LIBXMLPP_API
33   #endif /* LIBXMLPP_BUILD - _WINDLL */
34 #else
35   #define LIBXMLPP_API
36 #endif /* GLIBMM_DLL */
37
38 #endif /* _LIBXMLPP_CONFIG_H */
39