Commit 73817ec
committed
fix(zlib): define
This follows upstream's change in madler/zlib@1382e6611
due to EWOULDBLOCK is used since madler/zlib@81cc0bebe
and `-D_POSIX_SOURCE` would hide `#define EWOULDBLOCK EAGAIN`.
See <https://github.com/freebsd/freebsd-src/blob/3e9f4fd6fc50300d052d5619d82a14d3488483d5/sys/sys/errno.h#L92-L93>
Actually I feel like _POSIX_C_SOURCE=200112L maybe redundant
though let's just do whatever upstream does
This was found in
* <rust-lang/rust#154734>
* <https://triage.rust-lang.org/gha-logs/rust-lang/rust/69786578177>_POSIX_C_SOURCE=200112L
1 parent 232b03a commit 73817ec
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
0 commit comments