From 908aaf0d92c146400c5125cbbf5edf3dbeb8a4a1 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 16 Feb 2012 10:29:05 +0900 Subject: MSVC build fixed Signed-off-by: Martin Sustrik --- builds/msvc/tests/tests.vcxproj | 6 +++++- builds/msvc/tests/tests.vcxproj.filters | 5 ++++- tests/tests.cpp | 12 ++++++------ 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/builds/msvc/tests/tests.vcxproj b/builds/msvc/tests/tests.vcxproj index d62597d..cfa07a8 100644 --- a/builds/msvc/tests/tests.vcxproj +++ b/builds/msvc/tests/tests.vcxproj @@ -109,6 +109,10 @@ true true + + true + true + true true @@ -158,4 +162,4 @@ - + \ No newline at end of file diff --git a/builds/msvc/tests/tests.vcxproj.filters b/builds/msvc/tests/tests.vcxproj.filters index 01121cb..ce84e6c 100644 --- a/builds/msvc/tests/tests.vcxproj.filters +++ b/builds/msvc/tests/tests.vcxproj.filters @@ -53,6 +53,9 @@ Header Files + + Header Files + @@ -64,4 +67,4 @@ Header Files - + \ No newline at end of file diff --git a/tests/tests.cpp b/tests/tests.cpp index 1d1ebbe..bcccd15 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -91,14 +91,14 @@ #include "max_sockets.cpp" #undef XS_TEST_MAIN -#define XS_TEST_MAIN reentrant -#include "reentrant.cpp" -#undef XS_TEST_MAIN - #define XS_TEST_MAIN emptyctx #include "emptyctx.cpp" #undef XS_TEST_MAIN +#define XS_TEST_MAIN polltimeo +#include "polltimeo.cpp" +#undef XS_TEST_MAIN + int main () { int rc; @@ -133,10 +133,10 @@ int main () assert (rc == 0); rc = max_sockets (); assert (rc == 0); - rc = reentrant (); - assert (rc == 0); rc = emptyctx (); assert (rc == 0); + rc = polltimeo (); + assert (rc == 0); fprintf (stderr, "SUCCESS\n"); xs_sleep (1); -- cgit v1.2.3