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/test_timeo.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'tests/test_timeo.cpp') diff --git a/tests/test_timeo.cpp b/tests/test_timeo.cpp index 79b4d39..29ed634 100644 --- a/tests/test_timeo.cpp +++ b/tests/test_timeo.cpp @@ -18,13 +18,9 @@ along with this program. If not, see . */ -#include -#include -#include -#include +#include "testutil.hpp" -#include "../include/xs.h" -#include "../include/xs_utils.h" +#include extern "C" { @@ -44,7 +40,7 @@ extern "C" } } -int main (int argc, char *argv []) +int XS_TEST_MAIN () { fprintf (stderr, "test_timeo running...\n"); -- cgit v1.2.3