* include/endian.h: Remove USE_BSD ifdef since it is never defined on Cygwin.
This commit is contained in:
parent
2d015bd67c
commit
c845f0c182
@ -1,3 +1,8 @@
|
|||||||
|
2005-11-10 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* include/endian.h: Remove USE_BSD ifdef since it is never defined on
|
||||||
|
Cygwin.
|
||||||
|
|
||||||
2005-11-10 Corinna Vinschen <corinna@vinschen.de>
|
2005-11-10 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* syslog.cc (setlogmask): Don't mask the mask.
|
* syslog.cc (setlogmask): Don't mask the mask.
|
||||||
|
@ -24,12 +24,12 @@ details. */
|
|||||||
# define __BYTE_ORDER __LITTLE_ENDIAN
|
# define __BYTE_ORDER __LITTLE_ENDIAN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_BSD
|
/*#ifdef __USE_BSD*/
|
||||||
# define LITTLE_ENDIAN __LITTLE_ENDIAN
|
# define LITTLE_ENDIAN __LITTLE_ENDIAN
|
||||||
# define BIG_ENDIAN __BIG_ENDIAN
|
# define BIG_ENDIAN __BIG_ENDIAN
|
||||||
# define PDP_ENDIAN __PDP_ENDIAN
|
# define PDP_ENDIAN __PDP_ENDIAN
|
||||||
# define BYTE_ORDER __BYTE_ORDER
|
# define BYTE_ORDER __BYTE_ORDER
|
||||||
#endif
|
/*#endif*/
|
||||||
|
|
||||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||||
# define __LONG_LONG_PAIR(HI, LO) LO, HI
|
# define __LONG_LONG_PAIR(HI, LO) LO, HI
|
||||||
|
Loading…
Reference in New Issue
Block a user