[PATCH] D82282: [Support][AIX] Add declaration of wait4 to fix build

David Tenty via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 22 16:40:17 PDT 2020


daltenty accepted this revision.
daltenty added a comment.
This revision is now accepted and ready to land.

LGTM apart from minor nit



================
Comment at: llvm/lib/Support/Unix/Program.inc:332
 
+#ifdef _AIX
+extern "C" pid_t (wait4)(pid_t pid, int *status, int options,
----------------
nit: should this be `#if defined(_AIX) && !defined(_ALL_SOURCE)`, we'd actually get this definition if we weren't in a POSIX compliant mode


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82282/new/

https://reviews.llvm.org/D82282





More information about the llvm-commits mailing list