Commit 423a7159 authored by Marc G. Fournier's avatar Marc G. Fournier

Quick patch for compiling under BSD/OS 2.0 from Bruce

parent 7d1402d0
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: ipc.h,v 1.4 1996/07/26 20:39:04 scrappy Exp $ * $Id: ipc.h,v 1.5 1996/08/04 21:03:23 scrappy Exp $
* *
* NOTES * NOTES
* This file is very architecture-specific. This stuff should actually * This file is very architecture-specific. This stuff should actually
...@@ -114,10 +114,13 @@ extern int S_LOCK_FREE(slock_t *lock); ...@@ -114,10 +114,13 @@ extern int S_LOCK_FREE(slock_t *lock);
* cannot do so), we use System V semaphores. We also use them for * cannot do so), we use System V semaphores. We also use them for
* long locks. For some reason union semun is never defined in the * long locks. For some reason union semun is never defined in the
* System V header files so we must do it ourselves. * System V header files so we must do it ourselves.
*
* bsdi_2_1 does not need this
*/ */
#if defined(sequent) || \ #if defined(sequent) || \
defined(PORTNAME_aix) || \ defined(PORTNAME_aix) || \
defined(PORTNAME_alpha) || \ defined(PORTNAME_alpha) || \
defined(PORTNAME_bsdi) || \
defined(PORTNAME_hpux) || \ defined(PORTNAME_hpux) || \
defined(PORTNAME_i386_solaris) || \ defined(PORTNAME_i386_solaris) || \
defined(PORTNAME_sparc_solaris) || \ defined(PORTNAME_sparc_solaris) || \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment