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()
401401
402402check_symbol_exists(pthread_stackseg_np pthread.h HAVE_PTHREAD_STACKSEG_NP)
403403check_symbol_exists(sigsetjmp setjmp.h HAVE_SIGSETJMP)
404+ check_symbol_exists(strnlen string .h HAVE_STRNLEN)
404405
405406include (cmake/CheckAsmGoto.cmake)
406407include (cmake/CheckCpuidCount.cmake)
Original file line number Diff line number Diff line change 6565/* Define if you have 'strerror_r'. */ 
6666#cmakedefine  HAVE_STRERROR_R 1
6767
68+ /* Define to 1 if you have the 'strnlen' function. */ 
69+ #cmakedefine  HAVE_STRNLEN 1
70+ 
6871/* Define to 1 if strerror_r returns char *. */ 
6972#cmakedefine  STRERROR_R_CHAR_P 1
7073
Original file line number Diff line number Diff line change @@ -359,7 +359,6 @@ endblock()
359359check_symbol_exists(statvfs sys/statvfs.h HAVE_STATVFS)
360360check_symbol_exists(std_syslog sys/syslog.h HAVE_STD_SYSLOG)
361361check_symbol_exists(strcasecmp strings .h HAVE_STRCASECMP)
362- check_symbol_exists(strnlen string .h HAVE_STRNLEN)
363362check_symbol_exists(symlink unistd.h HAVE_SYMLINK)
364363check_symbol_exists(tzset time.h HAVE_TZSET)
365364check_symbol_exists(unsetenv stdlib.h HAVE_UNSETENV)
Original file line number Diff line number Diff line change 392392/* Define to 1 if you have the 'strndup' function. */ 
393393#cmakedefine  HAVE_STRNDUP 1
394394
395- /* Define to 1 if you have the 'strnlen' function. */ 
396- #cmakedefine  HAVE_STRNLEN 1
397- 
398395/* Define to 1 if you have the 'strtok_r' function. */ 
399396#cmakedefine  HAVE_STRTOK_R 1
400397
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments