On m68k, doubles are not 64-bit aligned, just like on i386 and sh.
Signed-off-by: Geert Uytterhoeven <[email protected]>
---
test/input.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/input.c b/test/input.c
index 90ab9ae..e2c8f4d 100644
--- a/test/input.c
+++ b/test/input.c
@@ -1354,7 +1354,7 @@ dix_valuator_alloc(void)
assert(v);
assert(v->numAxes == num_axes);
-#if !defined(__i386__) && !defined(__sh__)
+#if !defined(__i386__) && !defined(__mc68000__) && !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);
--
1.7.0.4
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive:
http://lists.debian.org/[email protected]