mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 14:03:07 +01:00
Small mods for HPUX to support 2.0.5
This commit is contained in:
parent
06ff2958d5
commit
96e97efe57
@ -118,7 +118,12 @@ public:
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
sem = sem_open(semName, O_CREAT | O_EXCL, 0700, 0);
|
sem = sem_open(semName, O_CREAT | O_EXCL, 0700, 0);
|
||||||
#if defined(DARWIN)
|
|
||||||
|
#ifdef HPUX
|
||||||
|
#define SEM_FAILED ((sem_t*) (-1))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(DARWIN) || defined(HPUX)
|
||||||
if (sem == (sem_t*)SEM_FAILED) {
|
if (sem == (sem_t*)SEM_FAILED) {
|
||||||
#else
|
#else
|
||||||
if (sem == SEM_FAILED) {
|
if (sem == SEM_FAILED) {
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
|
|
||||||
#include "../jrd/common.h"
|
#include "../jrd/common.h"
|
||||||
#include "../jrd/isc.h"
|
#include "../jrd/isc.h"
|
||||||
|
#include "../jrd/isc_s_proto.h"
|
||||||
#include "../lock/lock.h"
|
#include "../lock/lock.h"
|
||||||
#include "../lock/lock_proto.h"
|
#include "../lock/lock_proto.h"
|
||||||
#include "../jrd/license.h"
|
#include "../jrd/license.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user