* libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not

previously defined.
This commit is contained in:
Thomas Fitzsimmons 2002-06-21 19:09:50 +00:00
parent 55105f8660
commit 930bc96b4a
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
* 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.

View File

@ -40,6 +40,12 @@
#include <sys/param.h>
#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