diff 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
line wrap: on
line diff
--- a/cmake/internal/sysconfig.hpp.in	Mon Oct 16 12:43:48 2017 +0200
+++ b/cmake/internal/sysconfig.hpp.in	Mon Oct 16 12:54:01 2017 +0200
@@ -81,6 +81,7 @@
 
 #cmakedefine HAVE_ACCESS
 #cmakedefine HAVE_DAEMON
+#cmakedefine HAVE_GETLOGIN
 #cmakedefine HAVE_GETPID
 #cmakedefine HAVE_POPEN
 #cmakedefine HAVE_SETGID