Mercurial > irccd
comparison cmake/internal/sysconfig.hpp.in @ 507:65e80d258b34
Irccd: use system username, closes #562
Use the system user login name as both nickname and username to avoid
having collision with possible existing irccd.
This is currently only possible if the system has `getlogin` function
which targets primarily unix platforms. Windows support will be added
later.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 16 Oct 2017 12:54:01 +0200 |
parents | 0b156b82b8c1 |
children | 928a40398dec |
comparison
equal
deleted
inserted
replaced
506:24eeaa4cc221 | 507:65e80d258b34 |
---|---|
79 * ------------------------------------------------------------------ | 79 * ------------------------------------------------------------------ |
80 */ | 80 */ |
81 | 81 |
82 #cmakedefine HAVE_ACCESS | 82 #cmakedefine HAVE_ACCESS |
83 #cmakedefine HAVE_DAEMON | 83 #cmakedefine HAVE_DAEMON |
84 #cmakedefine HAVE_GETLOGIN | |
84 #cmakedefine HAVE_GETPID | 85 #cmakedefine HAVE_GETPID |
85 #cmakedefine HAVE_POPEN | 86 #cmakedefine HAVE_POPEN |
86 #cmakedefine HAVE_SETGID | 87 #cmakedefine HAVE_SETGID |
87 #cmakedefine HAVE_SETPROGNAME | 88 #cmakedefine HAVE_SETPROGNAME |
88 #cmakedefine HAVE_SETUID | 89 #cmakedefine HAVE_SETUID |