diff options
| author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | 2010-02-11 08:48:15 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-02-11 23:23:28 +0100 |
| commit | 80f4275629bd7f73776018cb3d06773a413bbbfb (patch) | |
| tree | 39831079d7265dadaa386566c91525c38e6abf70 | |
| parent | 81fe2b15f38b02ed7dc1a18f8d126aa8fd411eb3 (diff) | |
| download | busybox-w32-80f4275629bd7f73776018cb3d06773a413bbbfb.tar.gz busybox-w32-80f4275629bd7f73776018cb3d06773a413bbbfb.tar.bz2 busybox-w32-80f4275629bd7f73776018cb3d06773a413bbbfb.zip | |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h index a134a9e42..2d3821c02 100644 --- a/include/platform.h +++ b/include/platform.h | |||
| @@ -200,7 +200,7 @@ | |||
| 200 | /* NB: unaligned parameter should be a pointer, aligned one - | 200 | /* NB: unaligned parameter should be a pointer, aligned one - |
| 201 | * a lvalue. This makes it more likely to not swap them by mistake | 201 | * a lvalue. This makes it more likely to not swap them by mistake |
| 202 | */ | 202 | */ |
| 203 | #if defined(i386) || defined(__x86_64__) | 203 | #if defined(i386) || defined(__x86_64__) || defined(__powerpc__) |
| 204 | # include <stdint.h> | 204 | # include <stdint.h> |
| 205 | typedef int bb__aliased_int FIX_ALIASING; | 205 | typedef int bb__aliased_int FIX_ALIASING; |
| 206 | typedef uint16_t bb__aliased_uint16_t FIX_ALIASING; | 206 | typedef uint16_t bb__aliased_uint16_t FIX_ALIASING; |
