update dependencies to use global alloc
This commit is contained in:
parent
c7db4177fa
commit
b6b2e87e07
6574
external/m3d/m3d.h
vendored
Normal file
6574
external/m3d/m3d.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
6
external/stb/stb_image.h
vendored
6
external/stb/stb_image.h
vendored
@ -679,9 +679,9 @@ typedef unsigned char validate_uint32[sizeof(stbi__uint32)==4 ? 1 : -1];
|
||||
#endif
|
||||
|
||||
#ifndef STBI_MALLOC
|
||||
#define STBI_MALLOC(sz) malloc(sz)
|
||||
#define STBI_REALLOC(p,newsz) realloc(p,newsz)
|
||||
#define STBI_FREE(p) free(p)
|
||||
#define STBI_MALLOC(sz) FLMemAlloc(sz)
|
||||
#define STBI_REALLOC(p,newsz) FLMemRealloc(p,newsz)
|
||||
#define STBI_FREE(p) FLMemFree(p)
|
||||
#endif
|
||||
|
||||
#ifndef STBI_REALLOC_SIZED
|
||||
|
||||
4
external/xxhash/xxhash.h
vendored
4
external/xxhash/xxhash.h
vendored
@ -2384,13 +2384,13 @@ static void XXH_free(void* p) { (void)p; }
|
||||
* @internal
|
||||
* @brief Modify this function to use a different routine than malloc().
|
||||
*/
|
||||
static XXH_MALLOCF void* XXH_malloc(size_t s) { return malloc(s); }
|
||||
static XXH_MALLOCF void* XXH_malloc(size_t s) { return FLMemAlloc(s); }
|
||||
|
||||
/*!
|
||||
* @internal
|
||||
* @brief Modify this function to use a different routine than free().
|
||||
*/
|
||||
static void XXH_free(void* p) { free(p); }
|
||||
static void XXH_free(void* p) { FLMemFree(p); }
|
||||
|
||||
#endif /* XXH_NO_STDLIB */
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user