SAX based XML parser
Dependents: giken9_HTMLServer_Temp_Sample
winconfig.h@1:e96b2af301dd, 2011-05-26 (annotated)
- Committer:
- andrewbonney
- Date:
- Thu May 26 10:03:14 2011 +0000
- Revision:
- 1:e96b2af301dd
- Parent:
- 0:07919e3d6c56
Update to reduce buffer sizes
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewbonney | 0:07919e3d6c56 | 1 | /*================================================================ |
andrewbonney | 0:07919e3d6c56 | 2 | ** Copyright 2000, Clark Cooper |
andrewbonney | 0:07919e3d6c56 | 3 | ** All rights reserved. |
andrewbonney | 0:07919e3d6c56 | 4 | ** |
andrewbonney | 0:07919e3d6c56 | 5 | ** This is free software. You are permitted to copy, distribute, or modify |
andrewbonney | 0:07919e3d6c56 | 6 | ** it under the terms of the MIT/X license (contained in the COPYING file |
andrewbonney | 0:07919e3d6c56 | 7 | ** with this distribution.) |
andrewbonney | 0:07919e3d6c56 | 8 | */ |
andrewbonney | 0:07919e3d6c56 | 9 | |
andrewbonney | 0:07919e3d6c56 | 10 | #ifndef WINCONFIG_H |
andrewbonney | 0:07919e3d6c56 | 11 | #define WINCONFIG_H |
andrewbonney | 0:07919e3d6c56 | 12 | |
andrewbonney | 0:07919e3d6c56 | 13 | #define WIN32_LEAN_AND_MEAN |
andrewbonney | 0:07919e3d6c56 | 14 | #include <windows.h> |
andrewbonney | 0:07919e3d6c56 | 15 | #undef WIN32_LEAN_AND_MEAN |
andrewbonney | 0:07919e3d6c56 | 16 | |
andrewbonney | 0:07919e3d6c56 | 17 | #include <memory.h> |
andrewbonney | 0:07919e3d6c56 | 18 | #include <string.h> |
andrewbonney | 0:07919e3d6c56 | 19 | |
andrewbonney | 0:07919e3d6c56 | 20 | #define XML_NS 1 |
andrewbonney | 0:07919e3d6c56 | 21 | #define XML_DTD 1 |
andrewbonney | 0:07919e3d6c56 | 22 | #define XML_CONTEXT_BYTES 1024 |
andrewbonney | 0:07919e3d6c56 | 23 | |
andrewbonney | 0:07919e3d6c56 | 24 | /* we will assume all Windows platforms are little endian */ |
andrewbonney | 0:07919e3d6c56 | 25 | #define BYTEORDER 1234 |
andrewbonney | 0:07919e3d6c56 | 26 | |
andrewbonney | 0:07919e3d6c56 | 27 | /* Windows has memmove() available. */ |
andrewbonney | 0:07919e3d6c56 | 28 | #define HAVE_MEMMOVE |
andrewbonney | 0:07919e3d6c56 | 29 | |
andrewbonney | 0:07919e3d6c56 | 30 | #endif /* ndef WINCONFIG_H */ |