From 95c055a072fe0b7b6e6b50b89c5ff7264b25e1a4 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 18 Aug 2005 22:40:09 +0000 Subject: Undo regression in checking for lastlog support in monolithic builds (reported by Dan McNichol of IBM) --- sessreg.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sessreg.c') diff --git a/sessreg.c b/sessreg.c index 4d1fc76..57c46ac 100644 --- a/sessreg.c +++ b/sessreg.c @@ -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 -- cgit v1.2.3