Skip to content

Commit

Permalink
Revert "Guard new posix_spawn_* APIs with the macOS 10.15 SDK macro"
Browse files Browse the repository at this point in the history
This reverts commit 9cf3059.
  • Loading branch information
dmbryson committed Jun 17, 2019
1 parent 17221fe commit 95fb7ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Basic/Subprocess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ static int posix_spawn_file_actions_addchdir(posix_spawn_file_actions_t * __rest
#if HAVE_POSIX_SPAWN_CHDIR
return ::posix_spawn_file_actions_addchdir_np(file_actions, path);
#else
#if defined(__APPLE__) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 101500
#ifdef __APPLE__
if (__builtin_available(macOS 10.15, *)) {
return ::posix_spawn_file_actions_addchdir_np(file_actions, path);
}
Expand Down

0 comments on commit 95fb7ea

Please sign in to comment.