diff --git a/fuzztest/internal/subprocess.cc b/fuzztest/internal/subprocess.cc index dd287055..d29d125c 100644 --- a/fuzztest/internal/subprocess.cc +++ b/fuzztest/internal/subprocess.cc @@ -40,6 +40,8 @@ namespace fuzztest::internal { +#if !defined(_MSC_VER) + TerminationStatus::TerminationStatus(int status) : status_(status) {} bool TerminationStatus::Exited() const { return WIFEXITED(status_); } @@ -52,8 +54,6 @@ std::variant TerminationStatus::Status() const { return static_cast(WTERMSIG(status_)); } -#if !defined(_MSC_VER) - // Helper class for running commands in a subprocess. class SubProcess { public: