Commit 84d5c1ff authored by Sam Hocevar's avatar Sam Hocevar

* acinclude.m4: fix __attribute__((aligned())) detection on 64-bit platforms.

parent 60a9dbb0
......@@ -79,7 +79,7 @@ AC_DEFUN([AC_C_ATTRIBUTE_ALIGNED],
} S = {0, 0};
switch (1) {
case 0:
case (int)(&((struct s *)0)->b) == $ac_cv_c_attr_align_try:
case (long)(&((struct s *)0)->b) == $ac_cv_c_attr_align_try:
return 0;
}
return (long)&S;],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment