[Expat-checkins] expat/lib xmlparse.c,1.47,1.48
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Mon Jul 8 10:09:07 2002
- Previous message: [Expat-checkins] expat/lib macconfig.h,NONE,1.1 Makefile.MPW,NONE,1.1 xmlrole.c,1.9,1.10 xmltok.c,1.18,1.19
- Next message: [Expat-checkins] expat Changes,1.14,1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/expat/expat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv20791/lib
Modified Files:
xmlparse.c
Log Message:
Mac OS (classic) support, based on patches from Thomas Wegner and
Daryle Walker.
Also moved some #include statements around and removed a VMS-specific #include
that duplicates an existing #include.
Index: xmlparse.c
===================================================================
RCS file: /cvsroot/expat/expat/lib/xmlparse.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- xmlparse.c 1 Jul 2002 16:54:52 -0000 1.47
+++ xmlparse.c 8 Jul 2002 17:08:45 -0000 1.48
@@ -2,9 +2,8 @@
See the file COPYING for copying permission.
*/
-#ifdef __VMS
-#include <string.h> /* memset(), memcpy() */
-#endif
+#include <stddef.h>
+#include <string.h> /* memset(), memcpy() */
#ifdef COMPILED_FROM_DSP
@@ -13,6 +12,11 @@
#include "expat.h"
#undef XMLPARSEAPI
+#elif defined(MACOS_CLASSIC)
+
+#include "macconfig.h"
+#include "expat.h"
+
#else
#include <expat_config.h>
@@ -27,9 +31,6 @@
#undef XMLPARSEAPI
#endif
#endif /* ndef COMPILED_FROM_DSP */
-
-#include <stddef.h>
-#include <string.h>
#ifdef XML_UNICODE
#define XML_ENCODE_MAX XML_UTF16_ENCODE_MAX
- Previous message: [Expat-checkins] expat/lib macconfig.h,NONE,1.1 Makefile.MPW,NONE,1.1 xmlrole.c,1.9,1.10 xmltok.c,1.18,1.19
- Next message: [Expat-checkins] expat Changes,1.14,1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]