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

Add condition to ifdef

This commit is contained in:
brodsom 2003-03-04 00:38:31 +00:00
parent 40e6cef422
commit 09ef42d3ac

View File

@ -29,7 +29,7 @@
*
*/
/*
$Id: lock.cpp,v 1.37 2003-03-04 00:04:33 brodsom Exp $
$Id: lock.cpp,v 1.38 2003-03-04 00:38:31 brodsom Exp $
*/
#include "firebird.h"
@ -198,7 +198,8 @@ static LBL alloc_lock(USHORT, STATUS *);
#ifdef STATIC_SEMAPHORES
static USHORT alloc_semaphore(OWN, STATUS *);
#endif
#if !(defined WIN_NT || defined SOLARIS_MT || POSIX_THREADS)
#if (!(defined WIN_NT || defined SOLARIS_MT || POSIX_THREADS)) \
|| (defined SOLARIS_MT && !defined SUPERSERVER) || (defined WIN_NT && !defined SUPERSERVER)
static void blocking_action(PTR);
#endif
static void blocking_action2(PTR, PTR);
@ -1744,7 +1745,8 @@ static USHORT alloc_semaphore( OWN owner, STATUS * status_vector)
#endif
#if !(defined WIN_NT || defined SOLARIS_MT || POSIX_THREADS)
#if (!(defined WIN_NT || defined SOLARIS_MT || POSIX_THREADS)) \
|| (defined SOLARIS_MT && !defined SUPERSERVER) || (defined WIN_NT && !defined SUPERSERVER)
static void blocking_action( PTR owner_offset)
{
/**************************************