================ @@ -529,3 +529,42 @@ void nocrash_on_locint_offset(void *addr, void* from, struct S s) { size_t iAdd = (size_t) addr; memcpy(((void *) &(s.f)), from, iAdd); } + +#if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) +/* present in both glibc 2.25 and musl 1.1.20 */ + +//===----------------------------------------------------------------------=== +// getentropy() +//===----------------------------------------------------------------------=== ---------------- steakhal wrote:
If you prefer to keep this header, make it 81 chars wide. ```suggestion //===----------------------------------------------------------------------===// // getentropy() //===----------------------------------------------------------------------===// ``` https://github.com/llvm/llvm-project/pull/83675 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits