From 48cec90c3f1e81daec3d216ddf4db1ea1e2a8341 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Tue, 9 Apr 2013 13:43:24 +0000 Subject: Added Expat and LuaExpat, XML parsing now available in the API. FS #336 Windows version only, Linux to be fixed soon. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1374 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- expat/winconfig.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 expat/winconfig.h (limited to 'expat/winconfig.h') diff --git a/expat/winconfig.h b/expat/winconfig.h new file mode 100644 index 000000000..c1b791d62 --- /dev/null +++ b/expat/winconfig.h @@ -0,0 +1,30 @@ +/*================================================================ +** Copyright 2000, Clark Cooper +** All rights reserved. +** +** This is free software. You are permitted to copy, distribute, or modify +** it under the terms of the MIT/X license (contained in the COPYING file +** with this distribution.) +*/ + +#ifndef WINCONFIG_H +#define WINCONFIG_H + +#define WIN32_LEAN_AND_MEAN +#include +#undef WIN32_LEAN_AND_MEAN + +#include +#include + +#define XML_NS 1 +#define XML_DTD 1 +#define XML_CONTEXT_BYTES 1024 + +/* we will assume all Windows platforms are little endian */ +#define BYTEORDER 1234 + +/* Windows has memmove() available. */ +#define HAVE_MEMMOVE + +#endif /* ndef WINCONFIG_H */ -- cgit v1.2.3