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:
rfm 2009-09-06 10:56:04 +00:00
parent e772c54dfa
commit b367e467d6
8 changed files with 929 additions and 18 deletions

View file

@ -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>