diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-04-13 17:04:54 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-04-13 17:04:54 (GMT) |
commit | 5342ef51367116726454ebdbd4bc27f0de3354b2 (patch) | |
tree | 506ee7b8ce873b6024baf59b3cafecc4fb3c9770 /test | |
parent | f52a7dce4ada921094ab6bff7df7faa81d7a3924 (diff) | |
download | uscxml-5342ef51367116726454ebdbd4bc27f0de3354b2.zip uscxml-5342ef51367116726454ebdbd4bc27f0de3354b2.tar.gz uscxml-5342ef51367116726454ebdbd4bc27f0de3354b2.tar.bz2 |
Windows port compiles again
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 2 | ||||
-rw-r--r-- | test/src/test-w3c.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 7022d3c..7439abc 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -70,7 +70,7 @@ set_target_properties(scxml-test-framework-client PROPERTIES FOLDER "Tests") if (RUN_W3C_TESTS) - add_executable(test-w3c src/test-w3c.cpp) + add_executable(test-w3c src/test-w3c.cpp ${PROJECT_SOURCE_DIR}/contrib/src/getopt/XGetopt.cpp) target_link_libraries(test-w3c uscxml) set_target_properties(test-w3c PROPERTIES FOLDER "Tests") diff --git a/test/src/test-w3c.cpp b/test/src/test-w3c.cpp index 3b6c43a..f18b339 100644 --- a/test/src/test-w3c.cpp +++ b/test/src/test-w3c.cpp @@ -109,7 +109,7 @@ int main(int argc, char** argv) { std::set_terminate(customTerminate); -#ifdef HAS_SIGNAL_H +#if defined(HAS_SIGNAL_H) && !defined(WIN32) signal(SIGPIPE, SIG_IGN); #endif |