Add strtonum to compat library and export it

crypto library requires strtonum now, and add it to compat library.
remove it from applications compat/ directories.
This commit is contained in:
kinichiro
2021-12-26 15:42:47 +09:00
parent 1b95c5d584
commit adde656bb7
10 changed files with 13 additions and 40 deletions

View File

@@ -888,6 +888,11 @@ if(NOT HAVE_STRSEP)
set(EXTRA_EXPORT ${EXTRA_EXPORT} strsep)
endif()
if(NOT HAVE_STRTONUM)
set(CRYPTO_SRC ${CRYPTO_SRC} compat/strtonum.c)
set(EXTRA_EXPORT ${EXTRA_EXPORT} strtonum)
endif()
if(NOT HAVE_SYSLOG_R)
set(CRYPTO_SRC ${CRYPTO_SRC} compat/syslog_r.c)
endif()