Do the right thing for hpux with the ANSI compiler.
authorChris Hanson <org/chris-hanson/cph>
Thu, 26 Mar 1992 04:21:11 +0000 (04:21 +0000)
committerChris Hanson <org/chris-hanson/cph>
Thu, 26 Mar 1992 04:21:11 +0000 (04:21 +0000)
v7/src/microcode/bchdrn.c
v7/src/microcode/bchmmg.c

index 3858092ad125be126b3d641ea61cb7b763e2c394..fc3f9e3c2cf729a4a2a89afc65382787af70f080 100644 (file)
@@ -1,8 +1,8 @@
 /* -*- C -*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/bchdrn.c,v 1.3 1992/02/10 13:53:03 jinx Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/bchdrn.c,v 1.4 1992/03/26 04:21:11 cph Exp $
 
-Copyright (c) 1991-1992 Massachusetts Institute of Technology
+Copyright (c) 1991-92 Massachusetts Institute of Technology
 
 This material was developed by the Scheme project at the Massachusetts
 Institute of Technology, Department of Electrical Engineering and
@@ -169,7 +169,9 @@ DEFUN (always_one, (operation_name, noise),
 static void
 DEFUN (process_requests, (drone), struct drone_info * drone)
 {
+#if !(defined(_HPUX) && (_HPUX_VERSION >= 80))
   extern int EXFUN (select, (int, int *, int *, int *, struct timeval *));
+#endif
   sigset_t non_blocking_signal_mask, blocking_signal_mask;
   int result, count, buffer_index, flags;
   long current_position = -1;
index db595663d78a66efcbbe5e2589df7c8147a1e8d8..e48d3473fec0614c69be9f581ea8cc05729ad764 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/bchmmg.c,v 9.72 1992/03/26 04:14:35 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/bchmmg.c,v 9.73 1992/03/26 04:17:53 cph Exp $
 
 Copyright (c) 1987-92 Massachusetts Institute of Technology
 
@@ -494,7 +494,9 @@ static long default_sleep_period = 20 MILLISEC;
 #define GET_SLEEP_DELTA()      default_sleep_period
 #define SET_SLEEP_DELTA(value) default_sleep_period = (value)
 
-extern int EXFUN (select, (int, int *, int *, int *, const struct timeval *));
+#if !(defined(_HPUX) && (_HPUX_VERSION >= 80))
+extern int EXFUN (select, (int, int *, int *, int *, struct timeval *));
+#endif
 
 static void
 DEFUN (sleep_awaiting_drones, (microsec, mask),