scons: Build roundevent_test.
authorJose Fonseca <jfonseca@vmware.com>
Sun, 9 Aug 2015 10:55:28 +0000 (11:55 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Sun, 9 Aug 2015 23:07:27 +0000 (00:07 +0100)
Reviewed-by: Roland Scheidegger <sroland@vmware.co>
src/util/SConscript
src/util/rounding.h

index 9e4d481f8386671b613ba43f1d31c69ca64bd333..3dbe70a2e8a3596b348cb9245f415113361e842e 100644 (file)
@@ -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)
index ec31b47264e9344e1e07c0324cee56716f6caf51..868e1b434dbbea8b39735d4f2c83a7bdde677e3a 100644 (file)
@@ -24,6 +24,8 @@
 #ifndef _ROUNDING_H
 #define _ROUNDING_H
 
+#include "c99_compat.h" // inline
+
 #include <math.h>
 #include <limits.h>