summaryrefslogtreecommitdiff
path: root/sessreg.c
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-08-18 22:40:09 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-08-18 22:40:09 +0000
commit95c055a072fe0b7b6e6b50b89c5ff7264b25e1a4 (patch)
treea708b60b6e53f6400986d2d8a02eadf331f259a1 /sessreg.c
parentdefb333b8190b058a437985bedd4bff90ea2d98c (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.c8
1 files changed, 4 insertions, 4 deletions
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