mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
redefine mi_nothrow_t to be a pointer to (probably) fix issue #840 to match WASI signatures
This commit is contained in:
parent
09e91ec911
commit
9830c0db42
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue