diff options
author | Chris Wilson <chris+github@qwirx.com> | 2009-04-09 22:45:34 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2009-04-09 22:45:34 +0000 |
commit | 3f4672f25c21c95d81656ad561b613a5192fe0b4 (patch) | |
tree | 09937a68ef6f6d6ddc8c33093c39d6c7ce02672f /test | |
parent | a3136e31a7b3cca64918b142e10e57d1f956ee2b (diff) |
Fix compile error due to misisng signals on Windows. httpserver test
still does not pass.
Diffstat (limited to 'test')
-rw-r--r-- | test/httpserver/testhttpserver.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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); |