diff options
author | Alexander Barkov <bar@mnogosearch.org> | 2013-02-01 14:55:11 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mnogosearch.org> | 2013-02-01 14:55:11 +0400 |
commit | dde8622c205cd3cac7c4a0e17b3b4f3ab808fda2 (patch) | |
tree | c0198793f8be67f128ccc62cb6c0e830086a2317 /storage/connect/global.h | |
parent | 733ab86c254f880042e0a8cddbb2c2d1257db4d6 (diff) | |
download | mariadb-git-dde8622c205cd3cac7c4a0e17b3b4f3ab808fda2.tar.gz |
More XML related definitions are now more friendly:
- LIBXML2_SUPPORT is defined if LibXml2 is found
- DOMDOC_SUPPORT is defined if msxml is found
- XML_SUPPORT is defined if either of them are found
NOXML2 was removed
modified:
storage/connect/CMakeLists.txt
storage/connect/global.h
storage/connect/ha_connect.cc
storage/connect/plgdbutl.cpp
storage/connect/plgxml.cpp
Diffstat (limited to 'storage/connect/global.h')
-rw-r--r-- | storage/connect/global.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/connect/global.h b/storage/connect/global.h index 76c0fcb776f..9b48a7fb0c3 100644 --- a/storage/connect/global.h +++ b/storage/connect/global.h @@ -19,6 +19,10 @@ #define DllExport
#endif // !WIN32
+#if defined(DOMDOC_SUPPORT) || defined(LIBXML2_SUPPORT)
+#define XML_SUPPORT 1
+#endif
+
#if defined(XMSG)
// Definition used to read messages from message file.
#include "msgid.h"
|