summaryrefslogtreecommitdiff
path: root/src/utils/xml.inc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-20 23:14:30 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-20 23:14:30 +0300
commit108f34a6661153709a9cde228f41cdd30bbd5e67 (patch)
treec04706e73ddf0c45b21eab50b9a18553d71d5d9d /src/utils/xml.inc
parentcc8a7ad1a149bfeaa252cab8ffb9e3e068514f82 (diff)
downloadplus-108f34a6661153709a9cde228f41cdd30bbd5e67.tar.gz
plus-108f34a6661153709a9cde228f41cdd30bbd5e67.tar.bz2
plus-108f34a6661153709a9cde228f41cdd30bbd5e67.tar.xz
plus-108f34a6661153709a9cde228f41cdd30bbd5e67.zip
Move xml defines into separate file.
Diffstat (limited to 'src/utils/xml.inc')
-rw-r--r--src/utils/xml.inc30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/utils/xml.inc b/src/utils/xml.inc
new file mode 100644
index 000000000..8fe654649
--- /dev/null
+++ b/src/utils/xml.inc
@@ -0,0 +1,30 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2011-2016 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef UTILS_XML_INC
+#define UTILS_XML_INC
+
+#ifdef ENABLE_PUGIXML
+#include "utils/xml/pugixml.inc"
+#else // ENABLE_PUGIXML
+#include "utils/xml/libxml.inc"
+#endif // ENABLE_PUGIXML
+
+#endif // UTILS_XML_INC