OSDN Git Service

llvmpipe: Don't build lp_test_round when using MSVC.
authorVinson Lee <vlee@vmware.com>
Wed, 7 Jul 2010 00:25:39 +0000 (17:25 -0700)
committerVinson Lee <vlee@vmware.com>
Wed, 7 Jul 2010 00:25:39 +0000 (17:25 -0700)
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

index 57a6e71..543d42d 100644 (file)
@@ -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,