diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 47c510a2e..a744d675b 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2002-06-21 Thomas Fitzsimmons + + * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not + previously defined. + 2002-06-21 Richard Earnshaw (rearnsha@arm.com) * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define. @@ -81,7 +86,6 @@ * libc/search/hash_page.c: New file. * libc/search/hcreate.3: New file. * libc/search/hcreate.c: New file. - * libc/search/hcreate.c~: New file. * libc/search/hcreate_r.c: New file. * libc/search/ndbm.c: New file. * libc/search/page.h: New file. diff --git a/newlib/libc/search/hash.h b/newlib/libc/search/hash.h index d92d1ed4b..8287eb7e5 100644 --- a/newlib/libc/search/hash.h +++ b/newlib/libc/search/hash.h @@ -40,6 +40,12 @@ #include #ifndef BYTE_ORDER +#ifndef LITTLE_ENDIAN +#define LITTLE_ENDIAN 1234 +#endif +#ifndef BIG_ENDIAN +#define BIG_ENDIAN 4321 +#endif #ifdef __IEEE_LITTLE_ENDIAN #define BYTE_ORDER LITTLE_ENDIAN #else