]> git.eshelyaron.com Git - emacs.git/commit
Fix builds on older versions of macOS
authorMattias Engdegård <mattiase@acm.org>
Sat, 16 Apr 2022 09:33:14 +0000 (11:33 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sat, 16 Apr 2022 09:33:14 +0000 (11:33 +0200)
commit855e15dbf10a6aac42b860fdb28711f979e2bf22
treee790bd946cfff4abb300d2e475ba63c1581d3ead
parent9da744e45021648a37f175967b536b151fd18750
Fix builds on older versions of macOS

This adds back macOS-specific code replaced earlier (bug#48548),
specifically to fix build errors on macOS 10.7.5.  See discussion at
https://lists.gnu.org/archive/html/emacs-devel/2022-04/msg00779.html .

* src/sysdep.c (HAVE_RUSAGE_INFO_CURRENT, HAVE_PROC_PIDINFO): New.
(system_process_attributes): Use alternative code or exclude features
when building on older macOS versions.
src/sysdep.c