isblank doesn't need a special case test
This commit is contained in:
parent
a090ee97f9
commit
10ae0032d8
7
external/unbound/CMakeLists.txt
vendored
7
external/unbound/CMakeLists.txt
vendored
@ -141,7 +141,7 @@ set(common_src
|
|||||||
|
|
||||||
set(compat_src)
|
set(compat_src)
|
||||||
|
|
||||||
foreach (symbol IN ITEMS ctime_r gmtime_r inet_aton inet_ntop inet_pton malloc memcmp memmove snprintf strlcat strlcpy strptime explicit_bzero arc4random arc4random_uniform sha512 reallocarray)
|
foreach (symbol IN ITEMS ctime_r gmtime_r inet_aton inet_ntop inet_pton isblank malloc memcmp memmove snprintf strlcat strlcpy strptime explicit_bzero arc4random arc4random_uniform sha512 reallocarray)
|
||||||
string(TOUPPER "${symbol}" upper_sym)
|
string(TOUPPER "${symbol}" upper_sym)
|
||||||
if (NOT HAVE_${upper_sym})
|
if (NOT HAVE_${upper_sym})
|
||||||
list(APPEND compat_src
|
list(APPEND compat_src
|
||||||
@ -168,11 +168,6 @@ elseif (WIN32)
|
|||||||
compat/getentropy_win.c)
|
compat/getentropy_win.c)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (NOT HAVE_ISBLANK)
|
|
||||||
list(APPEND compat_src
|
|
||||||
compat/isblank.c)
|
|
||||||
endif ()
|
|
||||||
|
|
||||||
if (NOT HAVE_GETADDRINFO)
|
if (NOT HAVE_GETADDRINFO)
|
||||||
list(APPEND compat_src
|
list(APPEND compat_src
|
||||||
compat/fake-rfc2553.c)
|
compat/fake-rfc2553.c)
|
||||||
|
Loading…
Reference in New Issue
Block a user