diff options
author | ChanTsune <41658782+ChanTsune@users.noreply.github.com> | 2023-08-01 18:17:17 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2023-08-01 18:44:02 +0300 |
commit | 4170a80785cc69edfc5fdfe498bed5f40db6a7ef (patch) | |
tree | 2124c5cfa5a04ca4c4b99d81654795a5709213b1 /src/xz/main.h | |
parent | Docs: Fix typos found by codespell (diff) | |
download | xz-4170a80785cc69edfc5fdfe498bed5f40db6a7ef.tar.xz |
mythread.h: Disable signal functions in builds targeting Wasm + WASI.
signal.h in WASI SDK doesn't currently provide sigprocmask()
or sigset_t. liblzma doesn't need them so this change makes
liblzma and xzdec build against WASI SDK. xz doesn't build yet
and the tests don't either as tuktest needs setjmp() which
isn't (yet?) implemented in WASI SDK.
Closes: https://github.com/tukaani-project/xz/pull/57
See also: https://github.com/tukaani-project/xz/pull/56
(The original commit was edited a little by Lasse Collin.)
Diffstat (limited to 'src/xz/main.h')
0 files changed, 0 insertions, 0 deletions