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 @@ -309,7 +309,6 @@ block()
309
309
check_symbol_exists (getloadavg "${headers} " HAVE_GETLOADAVG )
310
310
endblock ()
311
311
312
- check_symbol_exists (getlogin unistd.h HAVE_GETLOGIN )
313
312
check_symbol_exists (getrusage sys/resource.h HAVE_GETRUSAGE )
314
313
check_symbol_exists (gettimeofday sys/time.h HAVE_GETTIMEOFDAY )
315
314
check_symbol_exists (getpwnam_r pwd.h HAVE_GETPWNAM_R )
Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
80
80
set (HAVE_GCC_GLOBAL_REGS FALSE )
81
81
set (HAVE_GETGRNAM_R FALSE )
82
82
set (HAVE_GETLOADAVG FALSE )
83
- set (HAVE_GETLOGIN FALSE )
84
83
set (HAVE_GETPWNAM_R FALSE )
85
84
set (HAVE_GETPWUID_R FALSE )
86
85
set (HAVE_GETRANDOM FALSE )
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ cmake_push_check_state(RESET)
83
83
cmake_pop_check_state ()
84
84
check_symbol_exists (getgrgid_r grp.h HAVE_GETGRGID_R )
85
85
check_symbol_exists (getgroups unistd.h HAVE_GETGROUPS )
86
+ check_symbol_exists (getlogin unistd.h HAVE_GETLOGIN )
86
87
check_symbol_exists (getpgid unistd.h HAVE_GETPGID )
87
88
check_symbol_exists (getrlimit sys/resource.h HAVE_GETRLIMIT )
88
89
check_symbol_exists (getsid unistd.h HAVE_GETSID )
Original file line number Diff line number Diff line change 13
13
/* Define to 1 if you have the 'getgroups' function. */
14
14
#cmakedefine HAVE_GETGROUPS 1
15
15
16
+ /* Define to 1 if you have the 'getlogin' function. */
17
+ #cmakedefine HAVE_GETLOGIN 1
18
+
16
19
/* Define to 1 if you have the 'getpgid' function. */
17
20
#cmakedefine HAVE_GETPGID 1
18
21
Original file line number Diff line number Diff line change 185
185
/* Define to 1 if you have the 'getloadavg' function. */
186
186
#cmakedefine HAVE_GETLOADAVG 1
187
187
188
- /* Define to 1 if you have the 'getlogin' function. */
189
- #cmakedefine HAVE_GETLOGIN 1
190
-
191
188
/* Define to 1 if you have the 'getprotobyname' function. */
192
189
#cmakedefine HAVE_GETPROTOBYNAME 1
193
190
You can’t perform that action at this time.
0 commit comments