mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 05:18:50 +08:00
2004-11-05 Joel Sherrill <joel@OARcorp.com>
* libnetworking/machine/endian.h: Protect BYTE_ORDER from double definition.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2004-11-05 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* libnetworking/machine/endian.h: Protect BYTE_ORDER from double
|
||||
definition.
|
||||
|
||||
2004-11-05 Ralf Corsepius <ralf_corsepiu@rtems.org>
|
||||
|
||||
* configure.ac: Remove RTEMS_USES_INTTYPES_H. Require inttypes.h.
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#define BIG_ENDIAN 4321
|
||||
#define LITTLE_ENDIAN 1234
|
||||
|
||||
#ifndef BYTE_ORDER
|
||||
#if CPU_BIG_ENDIAN
|
||||
# define BYTE_ORDER BIG_ENDIAN
|
||||
#elif CPU_LITTLE_ENDIAN
|
||||
@@ -20,6 +21,7 @@
|
||||
#else
|
||||
# error "Can't decide which end is which!"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if ( CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES == FALSE )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user