diff --git a/lib/tests/io/90-stat.c b/lib/tests/io/90-stat.c index b7f400b3..cad5e38d 100644 --- a/lib/tests/io/90-stat.c +++ b/lib/tests/io/90-stat.c @@ -26,7 +26,7 @@ #include -#if __i386__ +#if __i386__ || __arm__ #define stat xstat struct stat diff --git a/lib/tests/scaffold/76-pointer-arithmetic.c b/lib/tests/scaffold/76-pointer-arithmetic.c index 0ba46121..21b8a2f0 100644 --- a/lib/tests/scaffold/76-pointer-arithmetic.c +++ b/lib/tests/scaffold/76-pointer-arithmetic.c @@ -56,7 +56,7 @@ main () oputs (itoa (foo_size)); oputs ("\n"); // FIXME: add *14, *18 -#if __i386__ +#if __i386__ || __arm__ int foo_size_14 = 224; int foo_size_18 = 288; #elif __x86_64__ diff --git a/lib/tests/scaffold/7k-for-each-elem.c b/lib/tests/scaffold/7k-for-each-elem.c index 660bb1b3..df789986 100644 --- a/lib/tests/scaffold/7k-for-each-elem.c +++ b/lib/tests/scaffold/7k-for-each-elem.c @@ -47,7 +47,7 @@ struct section section; int main () { -#if __i386__ +#if __i386__ || __arm__ int sym_size = 8; #elif __GNUC__ && __x86_64__ int sym_size = 16; diff --git a/lib/tests/scaffold/85-sizeof.c b/lib/tests/scaffold/85-sizeof.c index 84ce0b9e..f95b69ed 100644 --- a/lib/tests/scaffold/85-sizeof.c +++ b/lib/tests/scaffold/85-sizeof.c @@ -34,7 +34,7 @@ struct bar }; }; -#if __i386__ +#if __i386__ || __arm__ #define ptr_size 4 #define foo_size 20 #define bar_size 12