compile fix on Cygwin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11028 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1e89a662f3
commit
f70f2760e3
1 changed files with 4 additions and 0 deletions
|
|
@ -32,6 +32,10 @@ private:
|
|||
#else
|
||||
|
||||
#include <pthread.h>
|
||||
#ifndef PTHREAD_MUTEX_RECURSIVE_NP
|
||||
// For Cygwin and possibly other OSs: _NP is "non-portable"
|
||||
#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
|
||||
#endif
|
||||
|
||||
namespace SwigExamples {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue