From d296326e065ed9685bd27d62a3ba20d8a8996e6f Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Wed, 5 Dec 2012 08:59:21 +0000 Subject: gallium/os: Cleanup up os_time_get/os_time_get_nano. - Re-implement os_time_get in terms of os_time_get_nano() for consistency - Use CLOCK_MONOTONIC as recommended - Only use clock_gettime on Linux for now. Reviewed-by: Brian Paul --- scons/gallium.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scons') diff --git a/scons/gallium.py b/scons/gallium.py index 66ccaea7359..98671f75d2f 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -500,7 +500,7 @@ def generate(env): libs = [] if env['platform'] in ('darwin', 'freebsd', 'linux', 'posix', 'sunos'): libs += ['m', 'pthread', 'dl'] - if env['platform'] in 'linux': + if env['platform'] in ('linux',): libs += ['rt'] env.Append(LIBS = libs) -- cgit v1.2.3