Formerly sysdeps/unix/sysv/sysv4/__sysconf.c.~3~

This commit is contained in:
Roland McGrath 1993-06-21 23:47:08 +00:00
parent 0d93c21cf1
commit aca28d6c27

View File

@ -66,7 +66,11 @@ DEFUN(__sysconf, (name), int name)
return __sysconfig (_CONFIG_OPEN_FILES);
case _SC_TZNAME_MAX:
return __tzname_max ();
#ifdef TZNAME_MAX
return __tzname_max > TZNAME_MAX ? __tzname_max : TZNAME_MAX;
#else
return __tzname_max;
#endif
case _SC_JOB_CONTROL:
#ifdef _POSIX_JOB_CONTROL