summaryrefslogtreecommitdiff
path: root/libcutl/cutl/details/expat/config.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2025-05-02 07:42:02 +0200
committerJörg Frings-Fürst <debian@jff.email>2025-05-02 07:42:02 +0200
commitfc486627a4ecbae797fa6856d8a9204ea85f4db8 (patch)
treeff3dae4c0e5d980d8e2da4fc6256ae839269bbcd /libcutl/cutl/details/expat/config.h
parent1c188393cd2e271ed2581471b601fb5960777fd8 (diff)
parentecba0bbd9947036dd82f16ab95252f8db445e149 (diff)
Merge tag 'debian/4.0.0-10' into developdevelop
Bugfix release
Diffstat (limited to 'libcutl/cutl/details/expat/config.h')
-rw-r--r--libcutl/cutl/details/expat/config.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/libcutl/cutl/details/expat/config.h b/libcutl/cutl/details/expat/config.h
new file mode 100644
index 0000000..a9f29f4
--- /dev/null
+++ b/libcutl/cutl/details/expat/config.h
@@ -0,0 +1,35 @@
+#ifndef EXPAT_CONFIG_H
+#define EXPAT_CONFIG_H
+
+#ifdef _MSC_VER
+# include <cutl/details/config-vc.h>
+#else
+# include <cutl/details/config.h>
+#endif
+
+#define BYTEORDER LIBCUTL_BYTEORDER
+
+#define XML_NS 1
+#define XML_DTD 1
+#define XML_CONTEXT_BYTES 1024
+
+#define UNUSED(x) (void)x;
+
+#ifdef _WIN32
+/* Windows
+ *
+ */
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+#undef WIN32_LEAN_AND_MEAN
+
+#define HAVE_MEMMOVE 1
+
+#else
+/* POSIX
+ *
+ */
+#define HAVE_MEMMOVE 1
+#endif
+
+#endif /* EXPAT_CONFIG_H */