properly enable strnlen checks for MSVC
This commit is contained in:
parent
f6582d1d76
commit
950dcb2d07
@ -107,7 +107,7 @@ if(HAVE_STRNDUP)
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
set(HAVE_STRNLEN)
|
||||
set(HAVE_STRNLEN true)
|
||||
add_definitions(-DHAVE_STRNLEN)
|
||||
else()
|
||||
check_function_exists(strnlen HAVE_STRNLEN)
|
||||
|
Loading…
x
Reference in New Issue
Block a user