From 2ac86dfdafb9bf4d4e9252260a431755b56d8ebe Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 8 Mar 2013 17:41:00 +0200 Subject: Add support for XML parsing and serialization --- cutl/details/expat/config.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 cutl/details/expat/config.h (limited to 'cutl/details/expat/config.h') diff --git a/cutl/details/expat/config.h b/cutl/details/expat/config.h new file mode 100644 index 0000000..a9f29f4 --- /dev/null +++ b/cutl/details/expat/config.h @@ -0,0 +1,35 @@ +#ifndef EXPAT_CONFIG_H +#define EXPAT_CONFIG_H + +#ifdef _MSC_VER +# include +#else +# include +#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 +#undef WIN32_LEAN_AND_MEAN + +#define HAVE_MEMMOVE 1 + +#else +/* POSIX + * + */ +#define HAVE_MEMMOVE 1 +#endif + +#endif /* EXPAT_CONFIG_H */ -- cgit v1.1