Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/openldap/dist/include Use conditional WORDS_BIG...



details:   https://anonhg.NetBSD.org/src/rev/7d081e742e07
branches:  trunk
changeset: 759538:7d081e742e07
user:      adam <adam%NetBSD.org@localhost>
date:      Sun Dec 12 16:10:18 2010 +0000

description:
Use conditional WORDS_BIGENDIAN

diffstat:

 external/bsd/openldap/dist/include/portable.hin |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r ae21e13a1146 -r 7d081e742e07 external/bsd/openldap/dist/include/portable.hin
--- a/external/bsd/openldap/dist/include/portable.hin   Sun Dec 12 15:46:27 2010 +0000
+++ b/external/bsd/openldap/dist/include/portable.hin   Sun Dec 12 16:10:18 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index