fix: During a BSD/OS(BSDI) 2.1 compile, I got errors about undefined

S_LOCK_'s during the postgres link phase.

submitted by: Bruce Momjian (root@candle.pha.pa.us)
Release_1_0_3
Marc G. Fournier 30 years ago
parent 169a5b7670
commit e5eb859446
  1. 4
      src/backend/storage/ipc/s_lock.c

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/Attic/s_lock.c,v 1.1.1.1 1996/07/09 06:21:54 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/Attic/s_lock.c,v 1.2 1996/07/16 06:53:41 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@ -381,7 +381,7 @@ S_INIT_LOCK(unsigned char *addr)
* Linux and friends
*/
#if defined(PORTNAME_linux) || defined(PORTNAME_BSD44_derived)
#if defined(PORTNAME_linux) || defined(PORTNAME_BSD44_derived) || defined(PORTNAME_bsdi)
int
tas(slock_t *m)

Loading…
Cancel
Save