You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we are using the preallocated interface only then stdlib.h is not
required. Currently we unconditionally include it.
Add ifdef guards around any code that uses malloc and friends and then
conditionally include `stdlib.h` based on `PREALLOC_INTERFACE_ONLY`.
The benefit of this patch is that downstream users who wish to build
libsecp256k1 into WASM will not need to patch into their build an empty
`stdlib.h` file.
0 commit comments