diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-02-24 15:16:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-02-24 15:16:26 +0200 |
commit | 707cc94fe52463870a9c6c8e2e66eaaa389e601d (patch) | |
tree | 13e10ff28bf4455d915f9d59b401bdbb62a393cb /libxsde/xsde/c/expat/config.h |
Start tracking XSD/e with git after version 3.0.03.0.0
Diffstat (limited to 'libxsde/xsde/c/expat/config.h')
-rw-r--r-- | libxsde/xsde/c/expat/config.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/libxsde/xsde/c/expat/config.h b/libxsde/xsde/c/expat/config.h new file mode 100644 index 0000000..41c8fdf --- /dev/null +++ b/libxsde/xsde/c/expat/config.h @@ -0,0 +1,42 @@ +#ifndef XSDE_C_EXPAT_CONFIG_H +#define XSDE_C_EXPAT_CONFIG_H + +#include <xsde/config.h> + + +#if XSDE_BYTEORDER == 1234 +# define BYTEORDER 1234 +#elif XSDE_BYTEORDER == 4321 +# define BYTEORDER 4321 +#else +# error XSDE_BYTEORDER is not defined or defined to an invalid value +#endif + + +#define XML_NS 1 +#define XML_DTD 1 +#define XML_CONTEXT_BYTES 1024 + +#define UNUSED(x) (void)x; + +/* Windows + * + */ +#if defined(XSDE_PLATFORM_WIN32) || defined (XSDE_PLATFORM_WINCE) + +#define WIN32_LEAN_AND_MEAN +#include <windows.h> +#undef WIN32_LEAN_AND_MEAN + +#define HAVE_MEMMOVE 1 + +#endif /* XSDE_PLATFORM_WIN32 || XSDE_PLATFORM_WINCE */ + +/* POSIX + * + */ +#ifdef XSDE_PLATFORM_POSIX +#define HAVE_MEMMOVE 1 +#endif + +#endif /* XSDE_C_EXPAT_CONFIG_H */ |