httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/expat-lite xmldef.h
Date Sat, 01 Jul 2000 13:56:01 GMT
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 */
  
  
  

Mime
View raw message