From db163166470a281256adff25c9157b2dff86d920 Mon Sep 17 00:00:00 2001 From: alexpeshkoff Date: Thu, 17 Jan 2008 16:17:31 +0000 Subject: [PATCH] typo --- src/jrd/isc_sync.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jrd/isc_sync.cpp b/src/jrd/isc_sync.cpp index 889377b766..9479c8fa41 100644 --- a/src/jrd/isc_sync.cpp +++ b/src/jrd/isc_sync.cpp @@ -497,11 +497,11 @@ int ISC_event_init(event_t* event, int semid, int semnum) pthread_mutexattr_init(&mattr); pthread_condattr_init(&cattr); -#if _POSIX_THREAD_PROCESS_SHARED >= 200112L +#ifdef PTHREAD_PROCESS_SHARED pthread_mutexattr_setpshared(&mattr, PTHREAD_PROCESS_SHARED); pthread_condattr_setpshared(&cattr, PTHREAD_PROCESS_SHARED); #else -#error Your system must support THREAD_PROCESS_SHARED to use firebird. +#error Your system must support PTHREAD_PROCESS_SHARED to use firebird. #endif pthread_mutex_init(event->event_mutex, &mattr); pthread_cond_init(event->event_semnum, &cattr);