]> granicus.if.org Git - libexpat/commitdiff
Mac OS (classic) support, based on patches from Thomas Wegner and
authorFred L. Drake, Jr. <fdrake@users.sourceforge.net>
Mon, 8 Jul 2002 17:08:45 +0000 (17:08 +0000)
committerFred L. Drake, Jr. <fdrake@users.sourceforge.net>
Mon, 8 Jul 2002 17:08:45 +0000 (17:08 +0000)
Daryle Walker.

Also moved some #include statements around and removed a VMS-specific #include
that duplicates an existing #include.

expat/lib/xmlparse.c

index b89de852056db8753ef7dbaeea3b4c7f537a6291..0384717b0402b5b2d2733c065dd547aac1ea3530 100644 (file)
@@ -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
 
 #include "expat.h"
 #undef XMLPARSEAPI
 
+#elif defined(MACOS_CLASSIC)
+
+#include "macconfig.h"
+#include "expat.h"
+
 #else
 
 #include <expat_config.h>
@@ -28,9 +32,6 @@
 #endif
 #endif /* ndef COMPILED_FROM_DSP */
 
-#include <stddef.h>
-#include <string.h>
-
 #ifdef XML_UNICODE
 #define XML_ENCODE_MAX XML_UTF16_ENCODE_MAX
 #define XmlConvert XmlUtf16Convert