summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%google.com <devnull@localhost>2008-12-13 20:54:33 +0000
committerwtc%google.com <devnull@localhost>2008-12-13 20:54:33 +0000
commitdf159ae6a36865ac9f7fd11624f5bac602323afd (patch)
tree01e1e311e3da6a302b05f5d78f7cc941fa7ff3bb
parent1258f41c14457da6db25d1899693c8a949de90fd (diff)
downloadnspr-hg-df159ae6a36865ac9f7fd11624f5bac602323afd.tar.gz
Bug 370766: test the predefined __LITTLE_ENDIAN__ macro. TBR=glen.beasley
-rw-r--r--pr/include/md/_darwin.cfg2
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