forked from libxmlplusplus/libxmlplusplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibxml++config.h.in
executable file
·49 lines (39 loc) · 1.38 KB
/
libxml++config.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef _LIBXMLPP_CONFIG_H
#define _LIBXMLPP_CONFIG_H
/* Define to omit deprecated API from the library. */
#undef LIBXMLXX_DISABLE_DEPRECATED
/* Defined if the C++ library supports std::exception_ptr. */
#undef LIBXMLXX_HAVE_EXCEPTION_PTR
/* Major version number of libxml++. */
#undef LIBXMLXX_MAJOR_VERSION
/* Minor version number of libxml++. */
#undef LIBXMLXX_MINOR_VERSION
/* Micro version number of libxml++. */
#undef LIBXMLXX_MICRO_VERSION
// Enable DLL-specific stuff only when not building a static library
#if !defined(__CYGWIN__) && (defined(__MINGW32__) || defined(_MSC_VER)) && !defined(LIBXMLXX_STATIC)
# define LIBXMLPP_DLL 1
#endif
#ifdef LIBXMLPP_DLL
#ifdef LIBXMLPP_BUILD
#define LIBXMLPP_API __declspec(dllexport)
#ifdef __GNUC__
#define LIBXMLPP_VISIBILITY_DEFAULT LIBXMLPP_API __attribute__((visibility("default")))
#define LIBXMLPP_MEMBER_METHOD
#endif
#elif !defined (__GNUC__)
#define LIBXMLPP_API __declspec(dllimport)
#else /* don't dllimport classes/methods on GCC/MinGW */
#define LIBXMLPP_API
#endif /* LIBXMLPP_BUILD - DLL */
#else
/* Build a static library or a non-Windows library*/
#define LIBXMLPP_API
#endif /* GLIBMM_DLL */
#ifndef LIBXMLPP_VISIBILITY_DEFAULT
#define LIBXMLPP_VISIBILITY_DEFAULT
#endif
#ifndef LIBXMLPP_MEMBER_METHOD
#define LIBXMLPP_MEMBER_METHOD LIBXMLPP_API
#endif
#endif /* _LIBXMLPP_CONFIG_H */