summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2014-01-19 11:48:14 -0800
committerWayne Davison <wayned@samba.org>2014-01-19 11:48:14 -0800
commit72e0c450782ec3a31792eea1e47c78d1efe989cd (patch)
tree53cbd65596e553f645b98d99d5b1634f79976353
parent0593471e999babdbd2678590174357693812e8b9 (diff)
downloadrsync-72e0c450782ec3a31792eea1e47c78d1efe989cd.tar.gz
rsync-72e0c450782ec3a31792eea1e47c78d1efe989cd.tar.bz2
rsync-72e0c450782ec3a31792eea1e47c78d1efe989cd.zip
Handle more x86 hosts w/o resorting to CAREFUL_ALIGNMENT.
-rw-r--r--byteorder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/byteorder.h b/byteorder.h
index 579145d1..831644fe 100644
--- a/byteorder.h
+++ b/byteorder.h
@@ -23,7 +23,7 @@
/* We know that the x86 can handle misalignment and has the same
* byte order (LSB-first) as the 32-bit numbers we transmit. */
-#ifdef __i386__
+#if defined __i386__ || defined __i486__ || defined __i586__ || defined __i686__ || __amd64
#define CAREFUL_ALIGNMENT 0
#endif