From e52f6237f69fab78ebedfe8f5f737bfc2242a8c7 Mon Sep 17 00:00:00 2001 From: James Clark Date: Mon, 8 Mar 1999 01:20:37 +0000 Subject: [PATCH] Rename BYTE_ORDER to XML_BYTE_ORDER. --- expat/xmltok/xmltok.c | 12 ++++++------ expat/xmltok/xmltok_ns.c | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/expat/xmltok/xmltok.c b/expat/xmltok/xmltok.c index cd96f00d..bff53f87 100755 --- a/expat/xmltok/xmltok.c +++ b/expat/xmltok/xmltok.c @@ -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 diff --git a/expat/xmltok/xmltok_ns.c b/expat/xmltok/xmltok_ns.c index 435ad780..f2541616 100755 --- a/expat/xmltok/xmltok_ns.c +++ b/expat/xmltok/xmltok_ns.c @@ -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;