[libc-commits] [PATCH] D159125: [libc] Make time_t 64 bits long on all platforms but arm32

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Sep 8 12:18:25 PDT 2023


sivachandra added inline comments.


================
Comment at: libc/src/time/linux/clockGetTimeImpl.h:17
 
+#include <cstdint>       // For int64_t.
 #include <sys/syscall.h> // For syscall numbers.
----------------
`cstdint` is a C++ header which we cannot include in the runtime code. Use `stdint.h`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159125



More information about the libc-commits mailing list