diff --git a/osrf_testing_tools_cpp/src/test_runner/execute_process.hpp b/osrf_testing_tools_cpp/src/test_runner/execute_process.hpp index 8bb4d9f..1a7a586 100644 --- a/osrf_testing_tools_cpp/src/test_runner/execute_process.hpp +++ b/osrf_testing_tools_cpp/src/test_runner/execute_process.hpp @@ -21,7 +21,7 @@ #include #include -#if defined(WIN32) +#if defined(_WIN32) #include #else #include @@ -35,7 +35,7 @@ namespace test_runner namespace impl { -#if defined(WIN32) +#if defined(_WIN32) int execute_process_win32(const std::vector & commands); #else int execute_process_unix(const std::vector & commands); @@ -47,14 +47,14 @@ int execute_process_unix(const std::vector & commands); int execute_process(const std::vector & commands) { -#if defined(WIN32) +#if defined(_WIN32) return impl::execute_process_win32(commands); #else return impl::execute_process_unix(commands); #endif } -#if defined(WIN32) +#if defined(_WIN32) int impl::execute_process_win32(const std::vector & commands) {