From: Jose Fonseca Date: Sun, 9 Aug 2015 10:55:28 +0000 (+0100) Subject: scons: Build roundevent_test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=497a22a727d3606c7327eb72efbf0d2c03607f0a;p=mesa.git scons: Build roundevent_test. Reviewed-by: Roland Scheidegger --- diff --git a/src/util/SConscript b/src/util/SConscript index 9e4d481f838..3dbe70a2e8a 100644 --- a/src/util/SConscript +++ b/src/util/SConscript @@ -54,3 +54,10 @@ u_atomic_test = env.Program( ) alias = env.Alias("u_atomic_test", u_atomic_test, u_atomic_test[0].abspath) AlwaysBuild(alias) + +roundeven_test = env.Program( + target = 'roundeven_test', + source = ['roundeven_test.c'], +) +alias = env.Alias("roundeven_test", roundeven_test, roundeven_test[0].abspath) +AlwaysBuild(alias) diff --git a/src/util/rounding.h b/src/util/rounding.h index ec31b47264e..868e1b434db 100644 --- a/src/util/rounding.h +++ b/src/util/rounding.h @@ -24,6 +24,8 @@ #ifndef _ROUNDING_H #define _ROUNDING_H +#include "c99_compat.h" // inline + #include #include