Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR #1553: Adapt to syscall(2) removal in OpenBSD
Imported from GitHub PR #1553 OpenBSD will remove its generic syscall(2) interface, so setting the ABSL_HAVE_SYSCALL_WRITE define will result in a linking failure soon. Make direct use of the write(2) syscall instead. OpenBSD's libc does not do any buffering for write, so there is no change of behavior. A [variant of this patch][1] has been in use since early this year in OpenBSD's ports. There's no need to set ABSL_LOW_LEVEL_WRITE_SUPPORTED since that's already done a few lines up. [1]: openbsd/ports@5f9e56c Merge 0dcc88a into b841db2 Merging this change closes #1553 COPYBARA_INTEGRATE_REVIEW=#1553 from botovq:openbsd-syscall 0dcc88a PiperOrigin-RevId: 576552197 Change-Id: I13466703ddc9d50edf87da5d0c291aad642af49a
- Loading branch information