summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/i386/include/endian.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/include/endian.h b/sys/i386/include/endian.h
index c4f2d84..ebac340 100644
--- a/sys/i386/include/endian.h
+++ b/sys/i386/include/endian.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)endian.h 7.8 (Berkeley) 4/3/91
- * $Id$
+ * $Id: endian.h,v 1.13 1997/02/22 09:34:31 peter Exp $
*/
#ifndef _MACHINE_ENDIAN_H_
@@ -96,7 +96,7 @@ __extension__ ({ register u_short __X = (x); \
/*
* Macros for network/external number representation conversion.
*/
-#if BYTE_ORDER == BIG_ENDIAN && !defined(lint)
+#if BYTE_ORDER == BIG_ENDIAN || defined(lint)
#define ntohl(x) (x)
#define ntohs(x) (x)
#define htonl(x) (x)
OpenPOWER on IntegriCloud