diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-02-11 15:42:30 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-02-11 15:42:30 +0300 |
commit | 7be671075d93f8ff08c59068a554db2c26f2bffd (patch) | |
tree | a4fac3081f9b268e946397594dc504f44c7d6e90 /winsup/cygwin/include/asm | |
parent | 96b998db51b160a181041424c11588e7c4182b8d (diff) |
* include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN,
and __BYTE_ORDER into ...
* include/bits/endian.h: New file.
* include/arpa/nameser_compat.h: Include endian.h rather than defining
BYTE_ORDER here.
* include/asm/byteorder.h: Include bits/endian.h. Drop definition of
__LITTLE_ENDIAN.
* include/netinet/ip.h: Include bits/endian.h. Drop definitions of
BIG_ENDIAN, LITTLE_ENDIAN, and BYTE_ORDER. Use underscored variants
of aforementioned constants.
* include/netinet/tcp.h: Ditto.
* include/sys/param.h: Drop disabled definitions of BIG_ENDIAN,
LITTLE_ENDIAN, and BYTE_ORDER.
* include/netinet/ip.h: Reformat. Define setsockopt IP_TOS options
matching recent RFCs. Tweak comments.
Diffstat (limited to 'winsup/cygwin/include/asm')
-rw-r--r-- | winsup/cygwin/include/asm/byteorder.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/winsup/cygwin/include/asm/byteorder.h b/winsup/cygwin/include/asm/byteorder.h index 3727c5421..55b4a8eff 100644 --- a/winsup/cygwin/include/asm/byteorder.h +++ b/winsup/cygwin/include/asm/byteorder.h @@ -1,6 +1,6 @@ /* asm/byteorder.h - Copyright 1996, 1998, 2001, 2006, 2009 Red Hat, Inc. + Copyright 1996, 1998, 2001, 2006, 2009, 2011 Red Hat, Inc. This file is part of Cygwin. @@ -13,15 +13,12 @@ details. */ #include <_ansi.h> #include <stdint.h> +#include <bits/endian.h> #ifdef __cplusplus extern "C" { #endif -#ifndef __LITTLE_ENDIAN -#define __LITTLE_ENDIAN 1234 -#endif - #ifndef __LITTLE_ENDIAN_BITFIELD #define __LITTLE_ENDIAN_BITFIELD #endif |