From 29606ea77da6a717d2c265d4992c08d62710df61 Mon Sep 17 00:00:00 2001 From: Eric Heien Date: Tue, 25 Mar 2003 00:00:45 +0000 Subject: [PATCH] no message svn path=/trunk/boinc/; revision=1093 --- client/speed_stats.C | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/speed_stats.C b/client/speed_stats.C index 18db388aa2..7895576c1b 100644 --- a/client/speed_stats.C +++ b/client/speed_stats.C @@ -325,7 +325,9 @@ double double_flop_test(int iterations, int print_debug) { } // Do an impossible if statement here to prevent stop_test // from being optimized out by the compiler +#ifndef _WIN32 if (i < 0) stop_test(0); +#endif actual_iters++; } @@ -426,7 +428,9 @@ double int_op_test(int iterations, int print_debug) { } // Do an impossible if statement here to prevent stop_test // from being optimized out by the compiler +#ifndef _WIN32 if (i < 0) stop_test(0); +#endif actual_iters++; } @@ -520,7 +524,9 @@ double bandwidth_test(int iterations, int print_debug) { } // Do an impossible if statement here to prevent stop_test // from being optimized out by the compiler +#ifndef _WIN32 if (i < 0) stop_test(0); +#endif actual_iters++; }