Module Name:    src
Committed By:   christos
Date:           Fri May 22 17:51:27 UTC 2009

Modified Files:
        src/external/gpl2/xcvs/include: config.h

Log Message:
make this work for big endian machines too.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl2/xcvs/include/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl2/xcvs/include/config.h
diff -u src/external/gpl2/xcvs/include/config.h:1.4 src/external/gpl2/xcvs/include/config.h:1.5
--- src/external/gpl2/xcvs/include/config.h:1.4	Fri Apr 10 07:20:30 2009
+++ src/external/gpl2/xcvs/include/config.h	Fri May 22 13:51:26 2009
@@ -1090,7 +1090,10 @@
 
 /* Define to 1 if your processor stores words with the most significant byte
    first (like Motorola and SPARC, unlike Intel and VAX). */
-/* #undef WORDS_BIGENDIAN */
+#include <sys/endian.h>
+#ifdef _BYTE_ORDER == _BIG_ENDIAN
+#define WORDS_BIGENDIAN	1
+#endif
 
 /* Define to 1 if on AIX 3.
    System headers sometimes define this.

Reply via email to