fix missing __PTHREAD__

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-12-28 08:46:45 +00:00
commit 62ecf24b23
2 changed files with 29 additions and 11 deletions

View file

@ -463,7 +463,9 @@ namespace Swig {
private:
typedef std::map<void*, GCItem_var> ownership_map;
mutable ownership_map owner;
#ifdef __PTHREAD__
static pthread_mutex_t swig_mutex_own;
#endif
public:
template <typename Type>