You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gs...@locus.apache.org on 2000/07/01 15:56:01 UTC
cvs commit: apache-2.0/src/lib/expat-lite xmldef.h
gstein 00/07/01 06:56:00
Modified: src/lib/expat-lite xmldef.h
Log:
autoconf gives us WORDS_BIGENDIAN. a bit more of our magic for whether we
even know the byte order one way or another.
Revision Changes Path
1.3 +8 -1 apache-2.0/src/lib/expat-lite/xmldef.h
Index: xmldef.h
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/expat-lite/xmldef.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xmldef.h 2000/07/01 11:33:02 1.2
+++ xmldef.h 2000/07/01 13:56:00 1.3
@@ -65,6 +65,13 @@
#ifdef APACHE
#include "ap_config.h"
-#define XML_BYTE_ORDER AP_BYTE_ORDER
+
+#ifndef AP_UNKNOWN_BYTE_ORDER
+#ifdef WORDS_BIDENDIAN
+#define XML_BYTE_ORDER 21 /* big-endian */
+#else
+#define XML_BYTE_ORDER 12 /* little-endian */
+#endif
+#endif
#endif /* APACHE */