svn rev #22766: trunk/src/include/

raeburn@MIT.EDU raeburn at MIT.EDU
Tue Sep 15 15:28:32 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22766
Commit By: raeburn
Log Message:
ticket: 6565

Fix stupid logic bug in last version.


Changed Files:
U   trunk/src/include/k5-platform.h
Modified: trunk/src/include/k5-platform.h
===================================================================
--- trunk/src/include/k5-platform.h	2009-09-15 16:28:15 UTC (rev 22765)
+++ trunk/src/include/k5-platform.h	2009-09-15 19:28:31 UTC (rev 22766)
@@ -466,9 +466,9 @@
 # define K5_BE
 #elif defined(_LITTLE_ENDIAN)
 # define K5_LE
-#elif defined(__BIG_ENDIAN__) || !defined(__LITTLE_ENDIAN__)
+#elif defined(__BIG_ENDIAN__) && !defined(__LITTLE_ENDIAN__)
 # define K5_BE
-#elif defined(__LITTLE_ENDIAN__) || !defined(__BIG_ENDIAN__)
+#elif defined(__LITTLE_ENDIAN__) && !defined(__BIG_ENDIAN__)
 # define K5_LE
 #endif
 #if !defined(K5_BE) && !defined(K5_LE)




More information about the cvs-krb5 mailing list