diff options
author | Jose Fonseca <[email protected]> | 2015-08-09 11:55:28 +0100 |
---|---|---|
committer | Jose Fonseca <[email protected]> | 2015-08-10 00:07:27 +0100 |
commit | 497a22a727d3606c7327eb72efbf0d2c03607f0a (patch) | |
tree | 45d8be5d4b9a8501ec0d82161b2d87b23818e3e6 /src/util | |
parent | 21ccdbdb5dd87b2ee66c4e78b011ec4df29efb98 (diff) |
scons: Build roundevent_test.
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/SConscript | 7 | ||||
-rw-r--r-- | src/util/rounding.h | 2 |
2 files changed, 9 insertions, 0 deletions
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 <math.h> #include <limits.h> |