aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lldb/source/Host/macosx/Host.mm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Host/macosx/Host.mm b/lldb/source/Host/macosx/Host.mm
index 2d50271..f4b8203 100644
--- a/lldb/source/Host/macosx/Host.mm
+++ b/lldb/source/Host/macosx/Host.mm
@@ -1329,10 +1329,10 @@ GetPosixspawnFlags (ProcessLaunchInfo &launch_info)
if (launch_info.GetLaunchInSeparateProcessGroup())
flags |= POSIX_SPAWN_SETPGROUP;
-//#ifdef POSIX_SPAWN_CLOEXEC_DEFAULT
-// // Close all files exception those with file actions if this is supported.
-// flags |= POSIX_SPAWN_CLOEXEC_DEFAULT;
-//#endif
+#ifdef POSIX_SPAWN_CLOEXEC_DEFAULT
+ // Close all files exception those with file actions if this is supported.
+ flags |= POSIX_SPAWN_CLOEXEC_DEFAULT;
+#endif
return flags;
}