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 /crypto | |
| parent | 27f08790305216e5730c5bb5352db9f616c4c56f (diff) | |
| download | portable-8877e9bc55fdbdb70c967b7720f57fba148a7dda.tar.gz portable-8877e9bc55fdbdb70c967b7720f57fba148a7dda.tar.bz2 portable-8877e9bc55fdbdb70c967b7720f57fba148a7dda.zip | |
Add recallocarray
Diffstat (limited to 'crypto')
| -rw-r--r-- | crypto/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | crypto/Makefile.am | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 99670f8..cda4fb3 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt | |||
| @@ -691,6 +691,11 @@ if(NOT HAVE_REALLOCARRAY) | |||
| 691 | set(EXTRA_EXPORT ${EXTRA_EXPORT} reallocarray) | 691 | set(EXTRA_EXPORT ${EXTRA_EXPORT} reallocarray) |
| 692 | endif() | 692 | endif() |
| 693 | 693 | ||
| 694 | if(NOT HAVE_RECALLOCARRAY) | ||
| 695 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/recallocarray.c) | ||
| 696 | set(EXTRA_EXPORT ${EXTRA_EXPORT} recallocarray) | ||
| 697 | endif() | ||
| 698 | |||
| 694 | if(NOT HAVE_STRCASECMP) | 699 | if(NOT HAVE_STRCASECMP) |
| 695 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/strcasecmp.c) | 700 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/strcasecmp.c) |
| 696 | set(EXTRA_EXPORT ${EXTRA_EXPORT} strcasecmp) | 701 | set(EXTRA_EXPORT ${EXTRA_EXPORT} strcasecmp) |
diff --git a/crypto/Makefile.am b/crypto/Makefile.am index 23aaeac..78f3dd8 100644 --- a/crypto/Makefile.am +++ b/crypto/Makefile.am | |||
| @@ -93,6 +93,10 @@ if !HAVE_REALLOCARRAY | |||
| 93 | libcompat_la_SOURCES += compat/reallocarray.c | 93 | libcompat_la_SOURCES += compat/reallocarray.c |
| 94 | endif | 94 | endif |
| 95 | 95 | ||
| 96 | if !HAVE_RECALLOCARRAY | ||
| 97 | libcompat_la_SOURCES += compat/recallocarray.c | ||
| 98 | endif | ||
| 99 | |||
| 96 | if !HAVE_TIMINGSAFE_MEMCMP | 100 | if !HAVE_TIMINGSAFE_MEMCMP |
| 97 | libcompat_la_SOURCES += compat/timingsafe_memcmp.c | 101 | libcompat_la_SOURCES += compat/timingsafe_memcmp.c |
| 98 | endif | 102 | endif |
