[libc-commits] [PATCH] D148371: [libc] Add support to compile some syscalls on 32 bit platform

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Jun 12 15:54:32 PDT 2023


sivachandra added a comment.

This is good to go after addressing @michaelrj's comments.



================
Comment at: libc/src/sys/wait/linux/wait4.cpp:43
+      switch (info.si_code) {
+      case CLD_EXITED:
+        *wait_status = W_EXITCODE(info.si_status, 0);
----------------
I think you should `#include <signal.h>` for `CLD_*` macros?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148371



More information about the libc-commits mailing list