diff options
author | wtc%google.com <devnull@localhost> | 2008-12-13 20:54:33 +0000 |
---|---|---|
committer | wtc%google.com <devnull@localhost> | 2008-12-13 20:54:33 +0000 |
commit | df159ae6a36865ac9f7fd11624f5bac602323afd (patch) | |
tree | 01e1e311e3da6a302b05f5d78f7cc941fa7ff3bb | |
parent | 1258f41c14457da6db25d1899693c8a949de90fd (diff) | |
download | nspr-hg-df159ae6a36865ac9f7fd11624f5bac602323afd.tar.gz |
Bug 370766: test the predefined __LITTLE_ENDIAN__ macro. TBR=glen.beasley
-rw-r--r-- | pr/include/md/_darwin.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/include/md/_darwin.cfg b/pr/include/md/_darwin.cfg index 3417c2dc..60bea8e5 100644 --- a/pr/include/md/_darwin.cfg +++ b/pr/include/md/_darwin.cfg @@ -44,7 +44,7 @@ #define PR_AF_INET6 30 /* same as AF_INET6 */ -#if defined(__i386__) || defined(__x86_64__) +#ifdef __LITTLE_ENDIAN__ #undef IS_BIG_ENDIAN #define IS_LITTLE_ENDIAN 1 #else |