redefine mi_nothrow_t to be a pointer to (probably) fix issue #840 to match WASI signatures

This commit is contained in:
Daan 2024-04-19 13:31:31 -07:00
parent 09e91ec911
commit 9830c0db42

View file

@ -23,7 +23,7 @@ mi_decl_externc size_t malloc_good_size(size_t size);
#endif
// helper definition for C override of C++ new
typedef struct mi_nothrow_s { int _tag; } mi_nothrow_t;
typedef void* mi_nothrow_t;
// ------------------------------------------------------
// Override system malloc