File tree Expand file tree Collapse file tree 5 files changed +4
-5
lines changed Expand file tree Collapse file tree 5 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -284,7 +284,6 @@ block()
284284  check_symbol_exists(getloadavg "${headers} "  HAVE_GETLOADAVG)
285285endblock()
286286
287- check_symbol_exists(getlogin unistd.h HAVE_GETLOGIN)
288287check_symbol_exists(getrusage sys/resource .h HAVE_GETRUSAGE)
289288check_symbol_exists(gettimeofday sys/time.h HAVE_GETTIMEOFDAY)
290289check_symbol_exists(getpwnam_r pwd.h HAVE_GETPWNAM_R)
Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
7777  set (HAVE_GCC_GLOBAL_REGS FALSE )
7878  set (HAVE_GETGRNAM_R FALSE )
7979  set (HAVE_GETLOADAVG FALSE )
80-   set (HAVE_GETLOGIN FALSE )
8180  set (HAVE_GETPWNAM_R FALSE )
8281  set (HAVE_GETPWUID_R FALSE )
8382  set (HAVE_GETRANDOM FALSE )
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ cmake_push_check_state(RESET)
8383cmake_pop_check_state()
8484check_symbol_exists(getgrgid_r grp.h HAVE_GETGRGID_R)
8585check_symbol_exists(getgroups unistd.h HAVE_GETGROUPS)
86+ check_symbol_exists(getlogin unistd.h HAVE_GETLOGIN)
8687check_symbol_exists(getpgid unistd.h HAVE_GETPGID)
8788check_symbol_exists(getrlimit sys/resource .h HAVE_GETRLIMIT)
8889check_symbol_exists(getsid unistd.h HAVE_GETSID)
Original file line number Diff line number Diff line change 1313/* Define to 1 if you have the 'getgroups' function. */ 
1414#cmakedefine  HAVE_GETGROUPS 1
1515
16+ /* Define to 1 if you have the 'getlogin' function. */ 
17+ #cmakedefine  HAVE_GETLOGIN 1
18+ 
1619/* Define to 1 if you have the 'getpgid' function. */ 
1720#cmakedefine  HAVE_GETPGID 1
1821
Original file line number Diff line number Diff line change 175175/* Define to 1 if you have the 'getloadavg' function. */ 
176176#cmakedefine  HAVE_GETLOADAVG 1
177177
178- /* Define to 1 if you have the 'getlogin' function. */ 
179- #cmakedefine  HAVE_GETLOGIN 1
180- 
181178/* Define to 1 if you have the 'getprotobyname' function. */ 
182179#cmakedefine  HAVE_GETPROTOBYNAME 1
183180
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments