about summary refs log tree commit diff
path: root/sysdeps/posix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/sysconf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c
index 1700ed0b87..7ad8ac7891 100644
--- a/sysdeps/posix/sysconf.c
+++ b/sysdeps/posix/sysconf.c
@@ -515,15 +515,15 @@ __sysconf (name)
       return NSS_BUFLEN_PASSWD;
 
     case _SC_LOGIN_NAME_MAX:
-#ifdef	_POSIX_LOGIN_NAME_MAX
-      return _POSIX_LOGIN_NAME_MAX;
+#ifdef	LOGIN_NAME_MAX
+      return LOGIN_NAME_MAX;
 #else
       return -1;
 #endif
 
     case _SC_TTY_NAME_MAX:
-#ifdef	_POSIX_TTY_NAME_MAX
-      return _POSIX_TTY_NAME_MAX;
+#ifdef	TTY_NAME_MAX
+      return TTY_NAME_MAX;
 #else
       return -1;
 #endif