* Added integer modifier macro to support 64-bit integers in printf.
* Made include directives of configuration header files sync'ed with xmlparse.c.
This commit is contained in:
parent
d707e890ea
commit
f967e6812a
@ -7,13 +7,17 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
#ifdef COMPILED_FROM_DSP
|
#ifdef COMPILED_FROM_DSP
|
||||||
#include "winconfig.h"
|
#include "winconfig.h"
|
||||||
#else
|
#elif defined(MACOS_CLASSIC)
|
||||||
#ifdef HAVE_EXPAT_CONFIG_H
|
#include "macconfig.h"
|
||||||
#include "expat_config.h"
|
#elif defined(__amigaos4__)
|
||||||
#endif
|
#include "amigaconfig.h"
|
||||||
#endif
|
#elif defined(HAVE_EXPAT_CONFIG_H)
|
||||||
|
#include <expat_config.h>
|
||||||
|
#endif /* ndef COMPILED_FROM_DSP */
|
||||||
|
|
||||||
#include "expat.h"
|
#include "expat.h"
|
||||||
#include "xmlfile.h"
|
#include "xmlfile.h"
|
||||||
#include "xmltchar.h"
|
#include "xmltchar.h"
|
||||||
@ -57,7 +61,7 @@ reportError(XML_Parser parser, const XML_Char *filename)
|
|||||||
enum XML_Error code = XML_GetErrorCode(parser);
|
enum XML_Error code = XML_GetErrorCode(parser);
|
||||||
const XML_Char *message = XML_ErrorString(code);
|
const XML_Char *message = XML_ErrorString(code);
|
||||||
if (message)
|
if (message)
|
||||||
ftprintf(stdout, T("%s:%d:%d: %s\n"),
|
ftprintf(stdout, T("%s:%" XML_FMT_INT_MOD "u:%" XML_FMT_INT_MOD "u: %s\n"),
|
||||||
filename,
|
filename,
|
||||||
XML_GetErrorLineNumber(parser),
|
XML_GetErrorLineNumber(parser),
|
||||||
XML_GetErrorColumnNumber(parser),
|
XML_GetErrorColumnNumber(parser),
|
||||||
|
Loading…
Reference in New Issue
Block a user