mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-24 04:25:10 -07:00
100ccb452d
* Move `raise` code to be behind an autoconf check This moves the call to `raise` behind a `HAVE_RAISE` autoconf check, in addition to `__wasm__`. This is intended to help porting to other platforms that don't support `raise` (e.g. modern game consoles). * Add autoconf check for `sysconf` Only try to invoke `sysconf` if the target platform supports it, and don't warn about unknown page size if `PAGE_SIZE` was defined. Add an include for `sys/param.h` to increase likelihood of finding `PAGE_SIZE`. This is intended to help porting to other platforms that don't support `sysconf` (e.g. modern game consoles) that have a fixed hardware page size. * Don't try to use raise & sysconf in a WASI environment Co-authored-by: Frank Denis <124872+jedisct1@users.noreply.github.com> |
||
---|---|---|
.. | ||
android-arm.sh | ||
android-armv7-a.sh | ||
android-armv8-a.sh | ||
android-build.sh | ||
android-mips32.sh | ||
android-mips64.sh | ||
android-x86_64.sh | ||
android-x86.sh | ||
apple-xcframework.sh | ||
emscripten-symbols.def | ||
emscripten.sh | ||
generate-emscripten-symbols.sh | ||
ios.sh | ||
Makefile.am | ||
Makefile.in | ||
msys2-win32.sh | ||
msys2-win64.sh | ||
osx.sh | ||
wasm32-wasi.sh | ||
watchos.sh |