Fix ifdefs for HPUX after ULTRIX changes.
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Mon, 30 Jul 1990 17:31:28 +0000 (17:31 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Mon, 30 Jul 1990 17:31:28 +0000 (17:31 +0000)
v7/src/microcode/ux.h

index 1befbb4eed80bbb6a22daa91019d83dfa1934cab..2b5981efadb11ad163d22ab4062504e35d44c2cb 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/ux.h,v 1.5 1990/07/30 17:05:08 jinx Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/ux.h,v 1.6 1990/07/30 17:31:28 jinx Exp $
 
 Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
 
@@ -677,24 +677,22 @@ extern int EXFUN
 #endif /* HAVE_SELECT */
 \f
 #ifdef _BSD
-
 #define BSD_DEV_TTY "/dev/tty"
+#endif
 
-#if defined(_POSIX) || defined(_SUNOS) || defined(_ULTRIX)
-#define UX_ctermid ctermid
-#else
+#if !defined(_POSIX) && defined(_BSD) && !defined(_SUNOS) && !defined(_ULTRIX)
 #define L_ctermid ((strlen (BSD_DEV_TTY)) + 1);
 extern char * EXFUN (UX_ctermid, (char * s));
+#else
+#define UX_ctermid ctermid
 #endif
 
-#if defined(_POSIX) || defined(_SUNOS)
-#define UX_kill kill
-#else
+#if !defined(_POSIX) && defined(_BSD) && !defined(_SUNOS)
 extern int EXFUN (UX_kill, (pid_t pid, int sig));
+#else
+#define UX_kill kill
 #endif
 
-#endif /* _BSD */
-
 #ifdef HAVE_POSIX_SIGNALS
 
 #define UX_sigemptyset sigemptyset