X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e9f25245196606cd95bf05897c1d6720f6db081..768a499594fd9c9fd0155d0513c7f5b785ce4439:/src/expat/lib/xmlparse.c diff --git a/src/expat/lib/xmlparse.c b/src/expat/lib/xmlparse.c index 6e0fa1fc51..6c75b135d8 100644 --- a/src/expat/lib/xmlparse.c +++ b/src/expat/lib/xmlparse.c @@ -8,9 +8,7 @@ #ifdef COMPILED_FROM_DSP #include "winconfig.h" -#define XMLPARSEAPI(type) type __cdecl #include "expat.h" -#undef XMLPARSEAPI #elif defined(MACOS_CLASSIC) @@ -19,7 +17,7 @@ #else -#include +#include "expat_config.h" #ifdef __declspec #define XMLPARSEAPI(type) type __cdecl @@ -4040,7 +4038,8 @@ doProlog(XML_Parser parser, name = el->name; dtd->scaffold[myindex].name = name; nameLen = 0; - for (; name[nameLen++]; ); + for (; name[nameLen++]; ) + ; dtd->contentStringLen += nameLen; if (elementDeclHandler) handleDefault = XML_FALSE;