summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Tjernlund2010-02-11 08:48:15 +0100
committerDenys Vlasenko2010-02-11 23:23:28 +0100
commit80f4275629bd7f73776018cb3d06773a413bbbfb (patch)
tree39831079d7265dadaa386566c91525c38e6abf70
parent81fe2b15f38b02ed7dc1a18f8d126aa8fd411eb3 (diff)
downloadbusybox-80f4275629bd7f73776018cb3d06773a413bbbfb.zip
busybox-80f4275629bd7f73776018cb3d06773a413bbbfb.tar.gz
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;