From 20894ae3fa98f82da925fbeb72e616eef509758a Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Mon, 10 May 2010 17:07:36 -0700 Subject: Upstream: HOST_WORDS_ALIGNED -> WORDS_ALIGNED Change-Id: Ica9022695d83fb48a8c25fdb1e1f0dc1c63747ff --- slirp-android/ip.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'slirp-android/ip.h') diff --git a/slirp-android/ip.h b/slirp-android/ip.h index c0ecc55..5b53c03 100644 --- a/slirp-android/ip.h +++ b/slirp-android/ip.h @@ -35,7 +35,7 @@ #include "helper.h" -#ifdef WORDS_BIGENDIAN +#ifdef HOST_WORDS_BIGENDIAN # ifndef NTOHL # define NTOHL(d) # endif @@ -75,7 +75,7 @@ typedef u_int32_t n_long; /* long as received from the net */ * Structure of an internet header, naked of options. */ struct ip { -#ifdef WORDS_BIGENDIAN +#ifdef HOST_WORDS_BIGENDIAN u_int ip_v:4; /* version */ u_int ip_hl:4; /* header length */ #else @@ -141,7 +141,7 @@ struct ip_timestamp { u_int8_t ipt_code; /* IPOPT_TS */ u_int8_t ipt_len; /* size of structure (variable) */ u_int8_t ipt_ptr; /* index of current entry */ -#ifdef WORDS_BIGENDIAN +#ifdef HOST_WORDS_BIGENDIAN u_int ipt_oflw:4, /* overflow counter */ ipt_flg:4; /* flags, see below */ #else -- cgit v1.1