X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/1d7b9b20ec4aa54ef1822cb776166bca41c25d54..5548b03a2cb035e3fa163e89af0e09c3e2720c19:/defines.h diff --git a/defines.h b/defines.h index 52f6c9f0..e60a587b 100644 --- a/defines.h +++ b/defines.h @@ -281,12 +281,12 @@ typedef int ssize_t; # define WTMP_FILE _PATH_WTMP #endif /* pick up the user's location for lastlog if given */ -#ifdef CONF_LASTLOG_FILE -# define LASTLOG_FILE CONF_LASTLOG_FILE -#endif #if !defined(LASTLOG_FILE) && defined(_PATH_LASTLOG) # define LASTLOG_FILE _PATH_LASTLOG #endif +#if !defined(LASTLOG_FILE) && defined(CONF_LASTLOG_FILE) +# define LASTLOG_FILE CONF_LASTLOG_FILE +#endif /* The login() library function in libutil is first choice */