summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-base_process_process__util__unittest.cc
blob: e6378dd51b2225b3e6700005a20086135cdaa355 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- base/process/process_util_unittest.cc.orig	2020-03-23 15:26:12 UTC
+++ base/process/process_util_unittest.cc
@@ -1307,11 +1307,11 @@ std::string TestLaunchProcess(const CommandLine& cmdli
   options.fds_to_remap.emplace_back(fds[1], STDOUT_FILENO);
 #endif  // defined(OS_WIN)
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   options.clone_flags = clone_flags;
 #else
   CHECK_EQ(0, clone_flags);
-#endif  // defined(OS_LINUX)
+#endif  // defined(OS_LINUX) || defined(OS_BSD)
 
   EXPECT_TRUE(LaunchProcess(cmdline, options).IsValid());
   write_pipe.Close();