From c89ea8f213c272b79ba0d0492597140ea20d7693 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Tue, 6 Jul 2010 17:25:39 -0700 Subject: llvmpipe: Don't build lp_test_round when using MSVC. lp_test_round uses the math functions round and trunc, which aren't available with MSVC. Fixes the MSVC build for now. --- src/gallium/drivers/llvmpipe/SConscript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gallium/drivers/llvmpipe/SConscript b/src/gallium/drivers/llvmpipe/SConscript index 57a6e7197f..543d42dadd 100644 --- a/src/gallium/drivers/llvmpipe/SConscript +++ b/src/gallium/drivers/llvmpipe/SConscript @@ -80,10 +80,12 @@ if env['platform'] != 'embedded': 'blend', 'conv', 'printf', - 'round', 'sincos', ] + if not msvc: + tests.append('round') + for test in tests: target = env.Program( target = 'lp_test_' + test, -- cgit v1.2.3