mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Avoid exposing pthread details in NSLock.h (as much as possible without
impacting performance). git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28612 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e772c54dfa
commit
b367e467d6
8 changed files with 929 additions and 18 deletions
|
@ -27,6 +27,9 @@
|
|||
// them. Other platforms have more sensible libcs, which just default to being
|
||||
// standards-compliant.
|
||||
#define _XOPEN_SOURCE 500
|
||||
#define gs_cond_t pthread_cond_t
|
||||
#define gs_mutex_t pthread_mutex_t
|
||||
#include <pthread.h>
|
||||
#include "Foundation/NSLock.h"
|
||||
#include <math.h>
|
||||
#include <errno.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue