Fix license
[platform/upstream/libxml++.git] / libxml++config.h.in
1 #ifndef _LIBXMLPP_CONFIG_H
2 #define _LIBXMLPP_CONFIG_H 1
3
4 #include <glibmmconfig.h>
5
6 #ifdef GLIBMM_CONFIGURE
7 /* compiler feature tests that are used during compile time and run-time
8    by libxml++ only. */
9 #undef LIBXMLCPP_EXCEPTIONS_ENABLED
10 #endif /* GLIBMM_CONFIGURE */
11
12 #ifdef GLIBMM_MSC
13 #define LIBXMLCPP_EXCEPTIONS_ENABLED 1
14 #endif /* GLIBMM_MSC */
15
16 #ifdef GLIBMM_DLL
17   #if defined(LIBXMLPP_BUILD) && defined(_WINDLL)
18     // Do not dllexport as it is handled by gendef on MSVC
19     #define LIBXMLPP_API
20   #elif !defined(LIBXMLPP_BUILD)
21     #define LIBXMLPP_API __declspec(dllimport)
22   #else
23     /* Build a static library */
24     #define LIBXMLPP_API
25   #endif /* LIBXMLPP_BUILD - _WINDLL */
26 #else
27   #define LIBXMLPP_API
28 #endif /* GLIBMM_DLL */
29
30 #endif /* _LIBXMLPP_CONFIG_H */
31