report that posix_spawn is supported in unistd.h and sysconf

This commit is contained in:
Rich Felker 2013-07-26 15:51:28 -04:00
parent ce05325521
commit 77830507be
2 changed files with 2 additions and 1 deletions

View File

@ -215,6 +215,7 @@ void syncfs(int);
#define _POSIX_REGEXP 1
#define _POSIX_SAVED_IDS 1
#define _POSIX_SHELL 1
#define _POSIX_SPAWN _POSIX_VERSION
#define _POSIX_VDISABLE 0
#define _POSIX_THREADS _POSIX_VERSION

View File

@ -171,7 +171,7 @@ long sysconf(int name)
[_SC_REGEX_VERSION] = -1,
[_SC_SHELL] = 1,
[_SC_SIGNALS] = -1,
[_SC_SPAWN] = -1,
[_SC_SPAWN] = VER,
[_SC_SPORADIC_SERVER] = -1,
[_SC_THREAD_SPORADIC_SERVER] = -1,
[_SC_SYSTEM_DATABASE] = -1,