Fix compat setutxent and endutxent macros for systems with
setutent() but not setutxent(). From Gustavo Zacarias
This commit is contained in:
@@ -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 setutent(u)
|
# define setutxent(u) setutent(u)
|
||||||
# define endutxent endutent(u)
|
# define endutxent(u) endutent(u)
|
||||||
#endif /* !HAVE_GETUTXID && HAVE_GETUTID */
|
#endif /* !HAVE_GETUTXID && HAVE_GETUTID */
|
||||||
|
|
||||||
#ifdef HAVE_GETUTXID
|
#ifdef HAVE_GETUTXID
|
||||||
|
Reference in New Issue
Block a user