de857347b6
use the BYTEORDER constant that ac_c_bigendian_cross.m4 generates. * accconfig.h: removed; obsolete. * lib/winconfig.h: - set the BYTEORDER constant, rather than XML_BYTE_ORDER, and leave a note about what we're assuming. * lib/xmltok.c, lib/xmltok_ns.c: - change all XML_BYTE_ORDER references to BYTEORDER, and update the constants from 12, 21 to 1234, 4321 respectively.
28 lines
675 B
C
28 lines
675 B
C
/*================================================================
|
|
** Copyright 2000, Clark Cooper
|
|
** All rights reserved.
|
|
**
|
|
** This is free software. You are permitted to copy, distribute, or modify
|
|
** it under the terms of the MIT/X license (contained in the COPYING file
|
|
** with this distribution.)
|
|
*/
|
|
|
|
#ifndef WINCONFIG_H
|
|
#define WINCONFIG_H
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#include <windows.h>
|
|
#undef WIN32_LEAN_AND_MEAN
|
|
|
|
#include <memory.h>
|
|
#include <string.h>
|
|
|
|
#define XML_NS 1
|
|
#define XML_DTD 1
|
|
#define XML_CONTEXT_BYTES 1024
|
|
|
|
/* we will assume all Windows platforms are little endian */
|
|
#define BYTEORDER 1234
|
|
|
|
#endif /* ndef WINCONFIG_H */
|