From b31647ec5bc1979a0accfd8e89936d0d943734f1 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 6 Mar 2010 13:22:59 -0500 Subject: Make build work on non-x86/x86_64 platforms. --- tests/monotonic-realticks.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/monotonic-realticks.c') diff --git a/tests/monotonic-realticks.c b/tests/monotonic-realticks.c index e3e973a..1e48ca5 100644 --- a/tests/monotonic-realticks.c +++ b/tests/monotonic-realticks.c @@ -36,9 +36,11 @@ main() return EXIT_FAILURE; } +#if SANDGLASS_TSC sandglass_bench_fine(&sandglass, sandglass_get_tsc()); - printf("%ld\n", sandglass.grains); - return EXIT_SUCCESS; +#else + return EXIT_FAILURE; +#endif } -- cgit v1.2.3