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 /include/platform.h | |
parent | 81fe2b15f38b02ed7dc1a18f8d126aa8fd411eb3 (diff) |
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>
Diffstat (limited to 'include/platform.h')
-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 @@ /* 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; |