Skip to content

Commit

Permalink
Fix compilation for macOS 14 SDK
Browse files Browse the repository at this point in the history
Fixes #342
  • Loading branch information
k15tfu authored and klemens-morgenstern committed Oct 9, 2023
1 parent f17be67 commit 5f795d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/boost/process/detail/posix/handles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ inline std::vector<native_handle_type> get_handles(std::error_code & ec)
else
ec.clear();

auto my_fd = ::dirfd(dir.get());
auto my_fd = dirfd(dir.get());

struct ::dirent * ent_p;

Expand Down Expand Up @@ -117,7 +117,7 @@ struct limit_handles_ : handler_base_ext
return;
}

auto my_fd = ::dirfd(dir);
auto my_fd = dirfd(dir);
struct ::dirent * ent_p;

while ((ent_p = readdir(dir)) != nullptr)
Expand Down

0 comments on commit 5f795d9

Please sign in to comment.