Add sysconf(_SC_MONOTONIC_CLOCK).

This commit is contained in:
Jonas 'Sortie' Termansen 2014-07-20 15:38:33 +02:00
parent c56daca682
commit d8201c007a
1 changed files with 1 additions and 0 deletions

View File

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