Let's pretend we support POSIX threads.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25588 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
9ac19900c4
commit
3021393e36
@ -36,6 +36,7 @@
|
||||
#define _POSIX_SAVED_IDS 1
|
||||
#define _POSIX_VDISABLE ((char)-2) /* TODO: Check this! */
|
||||
#define _POSIX_SEMAPHORES (200112L)
|
||||
#define _POSIX_THREADS (200112L)
|
||||
|
||||
/* pathconf() constants */
|
||||
#define _PC_CHOWN_RESTRICTED 1
|
||||
@ -66,6 +67,7 @@
|
||||
#define _SC_SEM_NSEMS_MAX 28
|
||||
#define _SC_SEM_VALUE_MAX 29
|
||||
#define _SC_SEMAPHORES 30
|
||||
#define _SC_THREADS 31
|
||||
|
||||
/* lseek() constants */
|
||||
#ifndef SEEK_SET
|
||||
|
@ -68,6 +68,8 @@ sysconf(int name)
|
||||
return MAX_POSIX_SEM_VALUE;
|
||||
case _SC_SEMAPHORES:
|
||||
return _POSIX_SEMAPHORES;
|
||||
case _SC_THREADS:
|
||||
return _POSIX_THREADS;
|
||||
}
|
||||
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user