Martin v. Löwis | 1dbb1ca | 2002-02-11 23:13:04 +0000 | [diff] [blame] | 1 | /*================================================================ |
| 2 | ** Copyright 2000, Clark Cooper |
| 3 | ** All rights reserved. |
| 4 | ** |
| 5 | ** This is free software. You are permitted to copy, distribute, or modify |
| 6 | ** it under the terms of the MIT/X license (contained in the COPYING file |
| 7 | ** with this distribution.) |
Martin v. Löwis | 1dbb1ca | 2002-02-11 23:13:04 +0000 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #ifndef WINCONFIG_H |
| 11 | #define WINCONFIG_H |
| 12 | |
| 13 | #define WIN32_LEAN_AND_MEAN |
| 14 | #include <windows.h> |
| 15 | #undef WIN32_LEAN_AND_MEAN |
| 16 | |
| 17 | #include <memory.h> |
| 18 | #include <string.h> |
| 19 | |
Victor Stinner | 5ff7132 | 2017-06-21 14:39:22 +0200 | [diff] [blame^] | 20 | |
| 21 | #if defined(HAVE_EXPAT_CONFIG_H) /* e.g. MinGW */ |
| 22 | # include <expat_config.h> |
| 23 | #else /* !defined(HAVE_EXPAT_CONFIG_H) */ |
| 24 | |
| 25 | |
Martin v. Löwis | 1dbb1ca | 2002-02-11 23:13:04 +0000 | [diff] [blame] | 26 | #define XML_NS 1 |
| 27 | #define XML_DTD 1 |
Martin v. Löwis | 1dbb1ca | 2002-02-11 23:13:04 +0000 | [diff] [blame] | 28 | #define XML_CONTEXT_BYTES 1024 |
| 29 | |
Fred Drake | 08317ae | 2003-10-21 15:38:55 +0000 | [diff] [blame] | 30 | /* we will assume all Windows platforms are little endian */ |
| 31 | #define BYTEORDER 1234 |
| 32 | |
| 33 | /* Windows has memmove() available. */ |
| 34 | #define HAVE_MEMMOVE |
| 35 | |
Victor Stinner | 5ff7132 | 2017-06-21 14:39:22 +0200 | [diff] [blame^] | 36 | |
| 37 | #endif /* !defined(HAVE_EXPAT_CONFIG_H) */ |
| 38 | |
| 39 | |
Martin v. Löwis | 1dbb1ca | 2002-02-11 23:13:04 +0000 | [diff] [blame] | 40 | #endif /* ndef WINCONFIG_H */ |