summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>2010-02-11 07:48:15 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2010-02-11 22:23:28 (GMT)
commit80f4275629bd7f73776018cb3d06773a413bbbfb (patch)
tree39831079d7265dadaa386566c91525c38e6abf70
parent81fe2b15f38b02ed7dc1a18f8d126aa8fd411eb3 (diff)
downloadbusybox-80f4275629bd7f73776018cb3d06773a413bbbfb.tar.gz
busybox-80f4275629bd7f73776018cb3d06773a413bbbfb.tar.bz2
include/platform.h: PowerPC can also do unaligned access
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--include/platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h
index a134a9e..2d3821c 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -200,7 +200,7 @@
/* NB: unaligned parameter should be a pointer, aligned one -
* a lvalue. This makes it more likely to not swap them by mistake
*/
-#if defined(i386) || defined(__x86_64__)
+#if defined(i386) || defined(__x86_64__) || defined(__powerpc__)
# include <stdint.h>
typedef int bb__aliased_int FIX_ALIASING;
typedef uint16_t bb__aliased_uint16_t FIX_ALIASING;