[libc-commits] [PATCH] D135731: [libc] add headers sys/auxv sys/prctl and sys/time
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Wed Oct 12 12:16:16 PDT 2022
sivachandra accepted this revision.
sivachandra added inline comments.
This revision is now accepted and ready to land.
================
Comment at: libc/include/llvm-libc-macros/linux/sys-time-macros.h:55
+// shifts sec left by 1) but those should be rare.
+#define timercmp(timeval_ptr_a, timeval_ptr_b, CMP) \
+ ((((timeval_ptr_a)->tv_sec CMP(timeval_ptr_b)->tv_sec) == \
----------------
What problem is this complication solving?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135731/new/
https://reviews.llvm.org/D135731
More information about the libc-commits
mailing list