Fix the setutxent and endutxent compatibility defines (this time

correctly) when only setutent and endutent are available.
This commit is contained in:
Todd C. Miller
2012-04-23 20:04:26 -04:00
parent f6c7ae2519
commit 0fbd5e1bc2

View File

@@ -63,8 +63,8 @@
#if !defined(HAVE_GETUTXID) && defined(HAVE_GETUTID) #if !defined(HAVE_GETUTXID) && defined(HAVE_GETUTID)
# define getutxline(u) getutline(u) # define getutxline(u) getutline(u)
# define pututxline(u) pututline(u) # define pututxline(u) pututline(u)
# define setutxent(u) setutent(u) # define setutxent() setutent()
# define endutxent(u) endutent(u) # define endutxent() endutent()
#endif /* !HAVE_GETUTXID && HAVE_GETUTID */ #endif /* !HAVE_GETUTXID && HAVE_GETUTID */
#ifdef HAVE_GETUTXID #ifdef HAVE_GETUTXID