diff options
| author | kinichiro <kinichiro.inoguchi@gmail.com> | 2017-03-09 22:49:04 +0900 |
|---|---|---|
| committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2017-03-09 23:00:04 +0900 |
| commit | 8877e9bc55fdbdb70c967b7720f57fba148a7dda (patch) | |
| tree | 233b458c35130b15172908d6f0e9e99e6a078152 /include/compat | |
| parent | 27f08790305216e5730c5bb5352db9f616c4c56f (diff) | |
| download | portable-8877e9bc55fdbdb70c967b7720f57fba148a7dda.tar.gz portable-8877e9bc55fdbdb70c967b7720f57fba148a7dda.tar.bz2 portable-8877e9bc55fdbdb70c967b7720f57fba148a7dda.zip | |
Add recallocarray
Diffstat (limited to 'include/compat')
| -rw-r--r-- | include/compat/stdlib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/compat/stdlib.h b/include/compat/stdlib.h index 781be77..11f82ba 100644 --- a/include/compat/stdlib.h +++ b/include/compat/stdlib.h | |||
| @@ -29,6 +29,10 @@ uint32_t arc4random_uniform(uint32_t upper_bound); | |||
| 29 | void *reallocarray(void *, size_t, size_t); | 29 | void *reallocarray(void *, size_t, size_t); |
| 30 | #endif | 30 | #endif |
| 31 | 31 | ||
| 32 | #ifndef HAVE_RECALLOCARRAY | ||
| 33 | void *recallocarray(void *, size_t, size_t, size_t); | ||
| 34 | #endif | ||
| 35 | |||
| 32 | #ifndef HAVE_STRTONUM | 36 | #ifndef HAVE_STRTONUM |
| 33 | long long strtonum(const char *nptr, long long minval, | 37 | long long strtonum(const char *nptr, long long minval, |
| 34 | long long maxval, const char **errstr); | 38 | long long maxval, const char **errstr); |
