File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -401,6 +401,7 @@ cmake_pop_check_state()
401
401
402
402
check_symbol_exists (pthread_stackseg_np pthread.h HAVE_PTHREAD_STACKSEG_NP )
403
403
check_symbol_exists (sigsetjmp setjmp.h HAVE_SIGSETJMP )
404
+ check_symbol_exists (strnlen string .h HAVE_STRNLEN )
404
405
405
406
include (cmake/CheckAsmGoto.cmake )
406
407
include (cmake/CheckCpuidCount.cmake )
Original file line number Diff line number Diff line change 65
65
/* Define if you have 'strerror_r'. */
66
66
#cmakedefine HAVE_STRERROR_R 1
67
67
68
+ /* Define to 1 if you have the 'strnlen' function. */
69
+ #cmakedefine HAVE_STRNLEN 1
70
+
68
71
/* Define to 1 if strerror_r returns char *. */
69
72
#cmakedefine STRERROR_R_CHAR_P 1
70
73
Original file line number Diff line number Diff line change @@ -359,7 +359,6 @@ endblock()
359
359
check_symbol_exists (statvfs sys/statvfs.h HAVE_STATVFS )
360
360
check_symbol_exists (std_syslog sys/syslog.h HAVE_STD_SYSLOG )
361
361
check_symbol_exists (strcasecmp strings .h HAVE_STRCASECMP )
362
- check_symbol_exists (strnlen string .h HAVE_STRNLEN )
363
362
check_symbol_exists (symlink unistd.h HAVE_SYMLINK )
364
363
check_symbol_exists (tzset time.h HAVE_TZSET )
365
364
check_symbol_exists (unsetenv stdlib.h HAVE_UNSETENV )
Original file line number Diff line number Diff line change 392
392
/* Define to 1 if you have the 'strndup' function. */
393
393
#cmakedefine HAVE_STRNDUP 1
394
394
395
- /* Define to 1 if you have the 'strnlen' function. */
396
- #cmakedefine HAVE_STRNLEN 1
397
-
398
395
/* Define to 1 if you have the 'strtok_r' function. */
399
396
#cmakedefine HAVE_STRTOK_R 1
400
397
You can’t perform that action at this time.
0 commit comments