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:
William S Fulton 2009-01-03 01:59:42 +00:00
commit f70f2760e3

View file

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