25 |
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
26 |
|
*/ |
27 |
|
|
28 |
+ |
#if defined(_WIN32) || defined(_WIN64) |
29 |
+ |
#define EZXML_NOMMAP |
30 |
+ |
#endif |
31 |
+ |
|
32 |
|
#include <stdlib.h> |
33 |
|
#include <stdio.h> |
34 |
|
#include <stdarg.h> |
42 |
|
#include <sys/stat.h> |
43 |
|
#include "ezxml.h" |
44 |
|
|
45 |
< |
#ifdef _WIN32 |
42 |
< |
#include <io.h> |
43 |
< |
#define read _read |
44 |
< |
#define open _open |
45 |
< |
#define close _close |
46 |
< |
#endif |
45 |
> |
#include "platform.h" |
46 |
|
|
47 |
|
#define EZXML_WS "\t\r\n " /* whitespace */ |
48 |
|
#define EZXML_ERRL 128 /* maximum error string length */ |