mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2024-11-25 13:40:08 +00:00
a1be36ae02
Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
22 lines
324 B
C
22 lines
324 B
C
#ifdef MALLOC_PROVIDED
|
|
int _dummy_realloc = 1;
|
|
#else
|
|
/* realloc.c -- a wrapper for realloc_r. */
|
|
|
|
#include <_ansi.h>
|
|
#include <reent.h>
|
|
#include <stdlib.h>
|
|
#include <malloc.h>
|
|
|
|
#ifndef _REENT_ONLY
|
|
|
|
void *
|
|
realloc (void *ap,
|
|
size_t nbytes)
|
|
{
|
|
return _realloc_r (_REENT, ap, nbytes);
|
|
}
|
|
|
|
#endif
|
|
#endif /* MALLOC_PROVIDED */
|