fix(lib): add wasm32 support to portable/endian.h (#4607)

This commit is contained in:
Alex Aron 2025-07-14 11:47:40 -04:00 committed by GitHub
parent 912167a9cd
commit aeab755033
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,7 +24,8 @@
defined(__CYGWIN__) || \
defined(__MSYS__) || \
defined(__EMSCRIPTEN__) || \
defined(__wasi__)
defined(__wasi__) || \
defined(__wasm__)
#if defined(__NetBSD__)
#define _NETBSD_SOURCE 1