diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-08-18 22:40:09 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-08-18 22:40:09 +0000 |
commit | 95c055a072fe0b7b6e6b50b89c5ff7264b25e1a4 (patch) | |
tree | a708b60b6e53f6400986d2d8a02eadf331f259a1 /sessreg.c | |
parent | defb333b8190b058a437985bedd4bff90ea2d98c (diff) |
Undo regression in checking for lastlog support in monolithic builds
(reported by Dan McNichol of IBM)
Diffstat (limited to 'sessreg.c')
-rw-r--r-- | sessreg.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -103,10 +103,10 @@ #ifdef HAVE_CONFIG_H # ifndef HAVE_LASTLOG_H # define NO_LASTLOG -# else /* Imake */ -#if defined(SYSV) || defined(SVR4) || defined(Lynx) || defined(__QNX__) || defined(__DARWIN__) || defined(_SEQUENT_) -#define NO_LASTLOG -#endif +# endif +#else /* Imake */ +# if defined(SYSV) || (defined(SVR4) && !defined(sun)) || defined(Lynx) || defined(__QNX__) || defined(__DARWIN__) || defined(_SEQUENT_) +# define NO_LASTLOG # endif #endif |