8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:03:03 +01:00

Fixed error reported by Sergey Mereutsa

This commit is contained in:
alexpeshkoff 2009-04-16 07:52:39 +00:00
parent 94fa716629
commit 4db90789fe

View File

@ -3019,7 +3019,7 @@ int ISC_mutex_init(struct mtx* mutex)
pthread_mutexattr_t mattr;
PTHREAD_ERRNO(pthread_mutexattr_init(&mattr));
#if _POSIX_THREAD_PROCESS_SHARED >= 200112L
#ifdef PTHREAD_PROCESS_SHARED
PTHREAD_ERRNO(pthread_mutexattr_setpshared(&mattr, PTHREAD_PROCESS_SHARED));
#else
#error Your system must support PTHREAD_PROCESS_SHARED to use Firebird.