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 @@ -411,6 +411,7 @@ cmake_push_check_state(RESET)
411411cmake_pop_check_state()
412412
413413check_symbol_exists(pthread_stackseg_np pthread.h HAVE_PTHREAD_STACKSEG_NP)
414+ check_symbol_exists(strnlen string .h HAVE_STRNLEN)
414415
415416# Check for sigsetjmp(). It can be a function or defined as a macro. Note, that 
416417# POSIX.1-2001-compliant systems should have it. On Windows the setjmp() is 
Original file line number Diff line number Diff line change 6868/* Define if you have 'strerror_r'. */ 
6969#cmakedefine  HAVE_STRERROR_R 1
7070
71+ /* Define to 1 if you have the 'strnlen' function. */ 
72+ #cmakedefine  HAVE_STRNLEN 1
73+ 
7174/* Define to 1 if strerror_r returns char *. */ 
7275#cmakedefine  STRERROR_R_CHAR_P 1
7376
Original file line number Diff line number Diff line change @@ -339,7 +339,6 @@ endblock()
339339check_symbol_exists(statvfs sys/statvfs.h HAVE_STATVFS)
340340check_symbol_exists(std_syslog sys/syslog.h HAVE_STD_SYSLOG)
341341check_symbol_exists(strcasecmp strings .h HAVE_STRCASECMP)
342- check_symbol_exists(strnlen string .h HAVE_STRNLEN)
343342check_symbol_exists(symlink unistd.h HAVE_SYMLINK)
344343check_symbol_exists(tzset time.h HAVE_TZSET)
345344check_symbol_exists(unsetenv stdlib.h HAVE_UNSETENV)
Original file line number Diff line number Diff line change 364364/* Define to 1 if you have the 'strndup' function. */ 
365365#cmakedefine  HAVE_STRNDUP 1
366366
367- /* Define to 1 if you have the 'strnlen' function. */ 
368- #cmakedefine  HAVE_STRNLEN 1
369- 
370367/* Define to 1 if you have the 'strtok_r' function. */ 
371368#cmakedefine  HAVE_STRTOK_R 1
372369
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments