Skip to content

Commit

Permalink
Add missing v2 check
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 23, 2024
1 parent d070c93 commit e16b1f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cpp/src/arrow/testing/process.cc
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,11 @@ class Process::Impl {
void SetArgs(const std::vector<std::string>& args) { args_ = args; }

void SetEnv(const std::string& name, const std::string& value) {
#ifdef BOOST_PROCESS_HAVE_V2
env_[name] = process::environment::value(value);
#else
env_[name] = value;
#endif
}

void SetReadyErrorMessage(const std::string& marker) { ready_marker_ = marker; }
Expand Down

0 comments on commit e16b1f1

Please sign in to comment.