Add OSF conditionalization.
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Thu, 11 Jun 1992 12:44:52 +0000 (12:44 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Thu, 11 Jun 1992 12:44:52 +0000 (12:44 +0000)
v7/src/microcode/oscond.h
v7/src/microcode/ux.h

index 01adb0815aaf58dddc70061600e43b6c9148d25f..c7002fba54d3e6aa93f0ac80cacbbf30cb34a3d7 100644 (file)
@@ -1,8 +1,8 @@
 /* -*-C-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/oscond.h,v 1.8 1992/05/04 20:44:20 jinx Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/oscond.h,v 1.9 1992/06/11 12:43:55 jinx Exp $
 
-Copyright (c) 1990-92 Massachusetts Institute of Technology
+Copyright (c) 1990-1992 Massachusetts Institute of Technology
 
 This material was developed by the Scheme project at the Massachusetts
 Institute of Technology, Department of Electrical Engineering and
@@ -41,6 +41,11 @@ MIT in each case. */
 /* _POSIX is assumed to be independent of all operating-system and
    machine specification macros.  */
 
+#if defined(_OSF)
+#  define _POSIX
+#  define _BSD4_3
+#endif
+
 #if defined(__hpux) && !defined(hpux)
 #define hpux
 #endif
index 5156c161762ffc99f4bf2167119b39a900e164c1..c00f125f1ce61597d5ba27bd84a2f3f48c256dad 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/ux.h,v 1.31 1992/06/05 20:01:42 jinx Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/ux.h,v 1.32 1992/06/11 12:44:52 jinx Exp $
 
 Copyright (c) 1988-1992 Massachusetts Institute of Technology
 
@@ -175,6 +175,11 @@ extern void EXFUN (error_system_call, (int code, enum syscall_names name));
 
 #ifdef _POSIX
 
+#ifdef _OSF
+#  include <sys/time.h>
+#  include <sys/ioctl.h>
+#endif
+
 #ifdef sonyrisc
 /* <limits.h> will redefine these. */
 #undef DBL_MAX