]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
autoconf gives us WORDS_BIGENDIAN. a bit more of our magic for whether we
authorGreg Stein <gstein@apache.org>
Sat, 1 Jul 2000 13:56:00 +0000 (13:56 +0000)
committerGreg Stein <gstein@apache.org>
Sat, 1 Jul 2000 13:56:00 +0000 (13:56 +0000)
    even know the byte order one way or another.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85740 13f79535-47bb-0310-9956-ffa450edef68

srclib/expat-lite/xmldef.h

index 20c31844d8b9413b7f9c471e319ec0a80455b0f8..4f403cb0e43904b6af0cdf6defb9bcc2df27a197 100644 (file)
@@ -65,6 +65,13 @@ particular environments. */
 #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 */