From ff638bd829daeff2b6661f36a09dae3f73f490d0 Mon Sep 17 00:00:00 2001 From: Yury Usishchev Date: Tue, 26 Aug 2014 13:51:07 +0400 Subject: [PATCH] Fix AArch64 build Use __uint128_t only on x86_64, llvm cannot select mul instruction otherwise Change-Id: Ida2cd3acf26f108924c909c9105fb1b53263afff Signed-off-by: Yury Usishchev --- dispatch-1.0/src/benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dispatch-1.0/src/benchmark.c b/dispatch-1.0/src/benchmark.c index 874fd89..2042a35 100644 --- a/dispatch-1.0/src/benchmark.c +++ b/dispatch-1.0/src/benchmark.c @@ -89,7 +89,7 @@ dispatch_benchmark_f(size_t count, register void *ctxt, register void (*func)(vo }; static dispatch_once_t pred; uint64_t ns, start, delta; -#ifdef __LP64__ +#ifdef __x86_64__ __uint128_t conversion, big_denom; #else long double conversion, big_denom; -- 2.7.4