From 3f4672f25c21c95d81656ad561b613a5192fe0b4 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 9 Apr 2009 22:45:34 +0000 Subject: Fix compile error due to misisng signals on Windows. httpserver test still does not pass. --- test/httpserver/testhttpserver.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/httpserver') diff --git a/test/httpserver/testhttpserver.cpp b/test/httpserver/testhttpserver.cpp index c38ef8fe..1dd4e3e8 100644 --- a/test/httpserver/testhttpserver.cpp +++ b/test/httpserver/testhttpserver.cpp @@ -358,7 +358,9 @@ int test(int argc, const char *argv[]) // Run the request script TEST_THAT(::system("perl testfiles/testrequests.pl") == 0); + #ifndef WIN32 signal(SIGPIPE, SIG_IGN); + #endif SocketStream sock; sock.Open(Socket::TypeINET, "localhost", 1080); -- cgit v1.2.3