diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-02-23 20:09:22 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-04-18 13:10:25 +0200 |
commit | e7045c9dd208a1afe36526ab21ef15f8b01c8bd2 (patch) | |
tree | 5250542ab2e1545ba797eb4bccff1a104e626cc2 /test | |
parent | 8bb0616cc2799c2c34448da6337ea8cb9438cda7 (diff) |
test/input: Fix double-aligned test in dix_valuator_alloc() on m68k
On m68k, doubles are not 64-bit aligned, just like on i386 and sh.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/input.c b/test/input.c index be988a4a3..df20f8235 100644 --- a/test/input.c +++ b/test/input.c @@ -1384,7 +1384,7 @@ dix_valuator_alloc(void) assert(v); assert(v->numAxes == num_axes); -#if !defined(__i386__) && !defined(__sh__) +#if !defined(__i386__) && !defined(__m68k__) && !defined(__sh__) /* must be double-aligned on 64 bit */ assert(((void *) v->axisVal - (void *) v) % sizeof(double) == 0); assert(((void *) v->axes - (void *) v) % sizeof(double) == 0); |