(read_utmp): Guard with `#ifdef UTMP_NAME_FUNCTION',
authorJim Meyering <jim@meyering.net>
Thu, 3 Feb 2000 12:20:59 +0000 (12:20 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 3 Feb 2000 12:20:59 +0000 (12:20 +0000)
rather than with `#if HAVE_UTMPNAME'.

lib/readutmp.c

index 1c680f0271d37d118a785d10a3df1c2f28dd49a4..e14408add8a75738c8e2bd8acd11b583d2a9c2cc 100644 (file)
@@ -57,7 +57,7 @@ extract_trimmed_name (const STRUCT_UTMP *ut)
    the number of entries, and return zero.  If there is any error,
    return non-zero and don't modify the parameters.  */
 
-#if HAVE_UTMPNAME
+#ifdef UTMP_NAME_FUNCTION
 
 int
 read_utmp (const char *filename, int *n_entries, STRUCT_UTMP **utmp_buf)