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:
parent
fd0d08fead
commit
62ecf24b23
2 changed files with 29 additions and 11 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue