2004-11-05 Joel Sherrill <joel@OARcorp.com>

* libnetworking/machine/endian.h: Protect BYTE_ORDER from double
	definition.
This commit is contained in:
Joel Sherrill
2004-11-05 16:18:53 +00:00
parent 8b101025d1
commit 6db216dd8e
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -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.
+2
View File
@@ -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 )