aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0c38017..f0e074a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -144,7 +144,7 @@ if(HAVE_STRNDUP)
144endif() 144endif()
145 145
146if(MSVC) 146if(MSVC)
147 set(HAVE_STRNLEN) 147 set(HAVE_STRNLEN true)
148 add_definitions(-DHAVE_STRNLEN) 148 add_definitions(-DHAVE_STRNLEN)
149else() 149else()
150 check_function_exists(strnlen HAVE_STRNLEN) 150 check_function_exists(strnlen HAVE_STRNLEN)