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 710d8a9..657ae03 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -107,7 +107,7 @@ if(HAVE_STRNDUP)
107endif() 107endif()
108 108
109if(MSVC) 109if(MSVC)
110 set(HAVE_STRNLEN) 110 set(HAVE_STRNLEN true)
111 add_definitions(-DHAVE_STRNLEN) 111 add_definitions(-DHAVE_STRNLEN)
112else() 112else()
113 check_function_exists(strnlen HAVE_STRNLEN) 113 check_function_exists(strnlen HAVE_STRNLEN)