From 72112ecf818b3b411298b05f081bb10705d62119 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 16 Feb 2012 10:05:42 +0900 Subject: XS_TEST_MAIN used instead of main in test programs This is the first step towards making test programs run on Windows. Signed-off-by: Martin Sustrik --- tests/testutil.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/testutil.hpp') diff --git a/tests/testutil.hpp b/tests/testutil.hpp index 8dbdbdb..ba4cf5f 100644 --- a/tests/testutil.hpp +++ b/tests/testutil.hpp @@ -24,8 +24,15 @@ #include #include +#include #include "../include/xs.h" +#include "../include/xs_utils.h" +#include "../src/platform.hpp" + +#if !defined XS_TEST_MAIN +#define XS_TEST_MAIN main +#endif inline void bounce (void *sb, void *sc) { -- cgit v1.2.3