aboutsummaryrefslogtreecommitdiff
path: root/inet/netinet/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'inet/netinet/tcp.h')
-rw-r--r--inet/netinet/tcp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/inet/netinet/tcp.h b/inet/netinet/tcp.h
index bc821e173e..bf12a0c609 100644
--- a/inet/netinet/tcp.h
+++ b/inet/netinet/tcp.h
@@ -43,11 +43,11 @@ struct tcphdr {
u_short th_dport; /* destination port */
tcp_seq th_seq; /* sequence number */
tcp_seq th_ack; /* acknowledgement number */
-#if BYTE_ORDER == LITTLE_ENDIAN
+#if __BYTE_ORDER == __LITTLE_ENDIAN
u_char th_x2:4, /* (unused) */
th_off:4; /* data offset */
#endif
-#if BYTE_ORDER == BIG_ENDIAN
+#if __BYTE_ORDER == __BIG_ENDIAN
u_char th_off:4, /* data offset */
th_x2:4; /* (unused) */
#endif