Add semaphore functions, and remove some dupes from the #if 0 section.
This commit is contained in:
parent
46a2a98421
commit
04272f39a0
@ -203,6 +203,16 @@
|
||||
#define recvfrom _recvfrom
|
||||
#define recvmsg _recvmsg
|
||||
#define select _select
|
||||
#define sem_close _sem_close
|
||||
#define sem_destroy _sem_destroy
|
||||
#define sem_getvalue _sem_getvalue
|
||||
#define sem_init _sem_init
|
||||
#define sem_open _sem_open
|
||||
#define sem_post _sem_post
|
||||
#define sem_timedwait _sem_timedwait
|
||||
#define sem_trywait _sem_trywait
|
||||
#define sem_unlink _sem_unlink
|
||||
#define sem_wait _sem_wait
|
||||
#define sendmsg _sendmsg
|
||||
#define sendto _sendto
|
||||
#define setsockopt _setsockopt
|
||||
@ -233,8 +243,6 @@
|
||||
#define msync _msync
|
||||
#define nfssvc _nfssvc
|
||||
#define pause _pause
|
||||
#define pthread_rwlockattr_init _pthread_rwlockattr_init
|
||||
#define pthread_rwlockattr_destroy _pthread_rwlockattr_destroy
|
||||
#define sched_yield _sched_yield
|
||||
#define sendfile _sendfile
|
||||
#define shutdown _shutdown
|
||||
|
@ -184,6 +184,16 @@
|
||||
#undef recvfrom
|
||||
#undef recvmsg
|
||||
#undef select
|
||||
#undef sem_close
|
||||
#undef sem_destroy
|
||||
#undef sem_getvalue
|
||||
#undef sem_init
|
||||
#undef sem_open
|
||||
#undef sem_post
|
||||
#undef sem_timedwait
|
||||
#undef sem_trywait
|
||||
#undef sem_unlink
|
||||
#undef sem_wait
|
||||
#undef sendmsg
|
||||
#undef sendto
|
||||
#undef setsockopt
|
||||
@ -206,8 +216,6 @@
|
||||
#undef msync
|
||||
#undef nfssvc
|
||||
#undef pause
|
||||
#undef pthread_rwlockattr_init
|
||||
#undef pthread_rwlockattr_destroy
|
||||
#undef sched_yield
|
||||
#undef sendfile
|
||||
#undef shutdown
|
||||
|
Loading…
Reference in New Issue
Block a user