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

Small mods for HPUX to support 2.0.5

This commit is contained in:
paulbeach 2008-12-01 14:42:00 +00:00
parent 06ff2958d5
commit 96e97efe57
2 changed files with 7 additions and 1 deletions

View File

@ -118,7 +118,12 @@ public:
}
#else
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) {
#else
if (sem == SEM_FAILED) {

View File

@ -35,6 +35,7 @@
#include "../jrd/common.h"
#include "../jrd/isc.h"
#include "../jrd/isc_s_proto.h"
#include "../lock/lock.h"
#include "../lock/lock_proto.h"
#include "../jrd/license.h"