diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-04-27 12:32:17 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-04-27 12:32:17 +0200 |
commit | 2c57a439676481590179718091f7404eb2e03ad7 (patch) | |
tree | a008f641f62fc995c9f93a5b37ee5f329bbaa525 /xml/details/expat/config.h | |
parent | 78e1a4d4a0a6022c13f251fbe23a20b2262830b2 (diff) |
Initial source code import
Diffstat (limited to 'xml/details/expat/config.h')
-rw-r--r-- | xml/details/expat/config.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/xml/details/expat/config.h b/xml/details/expat/config.h new file mode 100644 index 0000000..b301012 --- /dev/null +++ b/xml/details/expat/config.h @@ -0,0 +1,35 @@ +#ifndef EXPAT_CONFIG_H +#define EXPAT_CONFIG_H + +#ifdef _MSC_VER +# include <xml/details/config-vc.h> +#else +# include <xml/details/config.h> +#endif + +#define BYTEORDER LIBSTUDXML_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 */ |