* lib/glob.c (GET_LOGIN_NAME_MAX): Renamed from LOGIN_NAME_MAX,
[gnulib.git] / lib / glob.c
index 7499c5b..f2db01b 100644 (file)
 # define GETPW_R_SIZE_MAX()    (-1)
 #endif
 #ifdef _SC_LOGIN_NAME_MAX
-# define LOGIN_NAME_MAX()      sysconf (_SC_LOGIN_NAME_MAX)
+# define GET_LOGIN_NAME_MAX()  sysconf (_SC_LOGIN_NAME_MAX)
 #else
-# define LOGIN_NAME_MAX()      (-1)
+# define GET_LOGIN_NAME_MAX()  (-1)
 #endif
 \f
 static const char *next_brace_sub (const char *begin, int flags) __THROW;
@@ -531,7 +531,7 @@ glob (const char *pattern, int flags,
            {
              int success;
              char *name;
-             size_t buflen = LOGIN_NAME_MAX() + 1;
+             size_t buflen = GET_LOGIN_NAME_MAX() + 1;
 
              if (buflen == 0)
                /* `sysconf' does not support _SC_LOGIN_NAME_MAX.  Try