commit | a27d2baa0c1a2ec70f47ea9199b1dd6762c8a349 | [log] [tgz] |
---|---|---|
author | The Android Open Source Project <initial-contribution@android.com> | Tue Oct 21 07:00:00 2008 -0700 |
committer | The Android Open Source Project <initial-contribution@android.com> | Tue Oct 21 07:00:00 2008 -0700 |
tree | defd1cc07d16ad2f3b21154114e092d11c94c5bb |
Initial Contribution
diff --git a/libc/arch-arm/include/endian.h b/libc/arch-arm/include/endian.h new file mode 100644 index 0000000..04204ed --- /dev/null +++ b/libc/arch-arm/include/endian.h
@@ -0,0 +1,10 @@ +/* $OpenBSD: endian.h,v 1.3 2005/12/13 00:35:23 millert Exp $ */ + +#ifdef __ARMEB__ +#define _BYTE_ORDER _BIG_ENDIAN +#else +#define _BYTE_ORDER _LITTLE_ENDIAN +#endif +#define __STRICT_ALIGNMENT +#include <sys/types.h> +#include <sys/endian.h>