mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
Merge pull request #860 from jmroot/strndup-interpose
Only interpose strndup if it exists
This commit is contained in:
commit
e15498c4fa
1 changed files with 2 additions and 0 deletions
|
@ -77,7 +77,9 @@ typedef struct mi_nothrow_s { int _tag; } mi_nothrow_t;
|
||||||
MI_INTERPOSE_MI(calloc),
|
MI_INTERPOSE_MI(calloc),
|
||||||
MI_INTERPOSE_MI(realloc),
|
MI_INTERPOSE_MI(realloc),
|
||||||
MI_INTERPOSE_MI(strdup),
|
MI_INTERPOSE_MI(strdup),
|
||||||
|
#if defined(MAC_OS_X_VERSION_10_7) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
|
||||||
MI_INTERPOSE_MI(strndup),
|
MI_INTERPOSE_MI(strndup),
|
||||||
|
#endif
|
||||||
MI_INTERPOSE_MI(realpath),
|
MI_INTERPOSE_MI(realpath),
|
||||||
MI_INTERPOSE_MI(posix_memalign),
|
MI_INTERPOSE_MI(posix_memalign),
|
||||||
MI_INTERPOSE_MI(reallocf),
|
MI_INTERPOSE_MI(reallocf),
|
||||||
|
|
Loading…
Add table
Reference in a new issue