Commits


Sergey Fedorov authored and GitHub committed 41ba4fe6b33
MINOR: [C++] io_util.cc: fix for macOS without MACH_TASK_BASIC_INFO (#35046) Earlier macOS have no `MACH_TASK_BASIC_INFO`, but they have an equivalent `TASK_BASIC_INFO`. Use the latter as a fall back on Apple when the former is undefined. Fixes the build on earlier systems. Tested on macOS 10.6 (fixes the build), tested on the latest macOS (i.e. the patch does not break anything and works as supposed to). We use a similar patch for `folly` and elsewhere: https://github.com/macports/macports-ports/blob/eaa29a4816054657e65d001562d7f77ba5157e40/devel/folly/files/patch-older-systems.diff#L232-L251 Lead-authored-by: Sergey Fedorov <vital.had@gmail.com> Co-authored-by: Antoine Pitrou <antoine@python.org> Signed-off-by: Antoine Pitrou <antoine@python.org>