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()
309309 check_symbol_exists(getloadavg "${headers} " HAVE_GETLOADAVG)
310310endblock()
311311
312- check_symbol_exists(getlogin unistd.h HAVE_GETLOGIN)
313312check_symbol_exists(getrusage sys/resource .h HAVE_GETRUSAGE)
314313check_symbol_exists(gettimeofday sys/time.h HAVE_GETTIMEOFDAY)
315314check_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")
8080 set (HAVE_GCC_GLOBAL_REGS FALSE )
8181 set (HAVE_GETGRNAM_R FALSE )
8282 set (HAVE_GETLOADAVG FALSE )
83- set (HAVE_GETLOGIN FALSE )
8483 set (HAVE_GETPWNAM_R FALSE )
8584 set (HAVE_GETPWUID_R FALSE )
8685 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 185185/* Define to 1 if you have the 'getloadavg' function. */
186186#cmakedefine HAVE_GETLOADAVG 1
187187
188- /* Define to 1 if you have the 'getlogin' function. */
189- #cmakedefine HAVE_GETLOGIN 1
190-
191188/* Define to 1 if you have the 'getprotobyname' function. */
192189#cmakedefine HAVE_GETPROTOBYNAME 1
193190
You can’t perform that action at this time.
0 commit comments