shithub: rgbds

ref: 844e027a18e1a311547ef94d7431568c5e3f6803
dir: /include/extern/reallocarray.h/

View raw version
#ifndef EXTERN_REALLOCARRAY_H
#define EXTERN_REALLOCARRAY_H

#ifdef REALLOCARRAY_IN_LIBC

#include <stdlib.h>

#else /* REALLOCARRAY_IN_LIBC */

#define reallocarray rgbds_reallocarray
void *reallocarray(void *, size_t, size_t);

#endif /* REALLOCARRAY_IN_LIBC */

#endif /* EXTERN_REALLOCARRAY_H */