shithub: rgbds

ref: b55fead749337c95e2184348cf1f35fa52c2d2ef
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 */