Add sysconf(_SC_GETPW_R_SIZE_MAX).

This commit is contained in:
Jonas 'Sortie' Termansen 2014-02-28 16:30:00 +01:00
parent b4de9e4399
commit d6365e2da2
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ extern "C" long sysconf(int name)
case _SC_OPEN_MAX: return 0x10000;
case _SC_RTSIG_MAX: return (SIGRTMAX+1) - SIGRTMIN;
case _SC_GETGR_R_SIZE_MAX: return -1;
case _SC_GETPW_R_SIZE_MAX: return -1;
default:
fprintf(stderr, "%s:%u warning: %s(%i) is unsupported\n",
__FILE__, __LINE__, __func__, name);