update unbound
This commit is contained in:
3
external/unbound/util/alloc.c
vendored
3
external/unbound/util/alloc.c
vendored
@@ -364,6 +364,9 @@ void *unbound_stat_malloc(size_t size)
|
||||
#ifdef calloc
|
||||
#undef calloc
|
||||
#endif
|
||||
#ifndef INT_MAX
|
||||
#define INT_MAX (((int)-1)>>1)
|
||||
#endif
|
||||
/** calloc with stats */
|
||||
void *unbound_stat_calloc(size_t nmemb, size_t size)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user