Rename BYTE_ORDER to XML_BYTE_ORDER.

This commit is contained in:
James Clark 1999-03-08 01:20:37 +00:00
parent 5f9225a9f9
commit e52f6237f6
2 changed files with 8 additions and 8 deletions

View file

@ -658,7 +658,7 @@ int little2_isNmstrtMin(const ENCODING *enc, const char *p)
static const struct normal_encoding little2_encoding_ns = {
{ VTABLE, 2, 0,
#if BYTE_ORDER == 12
#if XML_BYTE_ORDER == 12
1
#else
0
@ -675,7 +675,7 @@ static const struct normal_encoding little2_encoding_ns = {
static const struct normal_encoding little2_encoding = {
{ VTABLE, 2, 0,
#if BYTE_ORDER == 12
#if XML_BYTE_ORDER == 12
1
#else
0
@ -690,7 +690,7 @@ static const struct normal_encoding little2_encoding = {
STANDARD_VTABLE(little2_)
};
#if BYTE_ORDER != 21
#if XML_BYTE_ORDER != 21
#ifdef XML_NS
@ -797,7 +797,7 @@ int big2_isNmstrtMin(const ENCODING *enc, const char *p)
static const struct normal_encoding big2_encoding_ns = {
{ VTABLE, 2, 0,
#if BYTE_ORDER == 21
#if XML_BYTE_ORDER == 21
1
#else
0
@ -814,7 +814,7 @@ static const struct normal_encoding big2_encoding_ns = {
static const struct normal_encoding big2_encoding = {
{ VTABLE, 2, 0,
#if BYTE_ORDER == 21
#if XML_BYTE_ORDER == 21
1
#else
0
@ -829,7 +829,7 @@ static const struct normal_encoding big2_encoding = {
STANDARD_VTABLE(big2_)
};
#if BYTE_ORDER != 12
#if XML_BYTE_ORDER != 12
#ifdef XML_NS

View file

@ -5,9 +5,9 @@ const ENCODING *NS(XmlGetUtf8InternalEncoding)()
const ENCODING *NS(XmlGetUtf16InternalEncoding)()
{
#if BYTE_ORDER == 12
#if XML_BYTE_ORDER == 12
return &ns(internal_little2_encoding).enc;
#elif BYTE_ORDER == 21
#elif XML_BYTE_ORDER == 21
return &ns(internal_big2_encoding).enc;
#else
const short n = 1;