Module Name:    src
Committed By:   adam
Date:           Sun Dec 12 16:10:19 UTC 2010

Modified Files:
        src/external/bsd/openldap/dist/include: portable.hin

Log Message:
Use conditional WORDS_BIGENDIAN


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/openldap/dist/include/portable.hin

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

Modified files:

Index: src/external/bsd/openldap/dist/include/portable.hin
diff -u src/external/bsd/openldap/dist/include/portable.hin:1.3 src/external/bsd/openldap/dist/include/portable.hin:1.4
--- src/external/bsd/openldap/dist/include/portable.hin:1.3	Sun Dec 12 15:46:32 2010
+++ src/external/bsd/openldap/dist/include/portable.hin	Sun Dec 12 16:10:18 2010
@@ -1077,7 +1077,9 @@
 
 /* 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
+#if defined __BIG_ENDIAN__
+#  define WORDS_BIGENDIAN 1
+#endif
 
 /* Define to the type of arg 3 for `accept'. */
 #undef ber_socklen_t

Reply via email to