|
Ice-1.0.1/C++/compilation
Hi,
"changes" say
- For posix threads, PTHREAD_MUTEX_RECURSIVE_NP is now only used if __linux__ is defined. Otherwise, PTHREAD_MUTEX_RECURSIVE is used.
But this code is commented in RecMutex.cpp, and there is another code which uses just PTHREAD_MUTEX_RECURSIVE and also pthread_mutexattr_settype which are undefined and compilation failed. Those are defined in pthread.h only if __USE_UNIX98 is defined.
What I did is I commented new code and uncommented what was commented. Went just fine.
So, why "#ifdef __linux__" code was commented?
Ivan
|