summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2002-09-25 17:38:46 -0700
committerTim Rice <tim@multitalents.net>2002-09-25 17:38:46 -0700
commit81ed518b9b888502cc57b23c02c47634ca508748 (patch)
treec5e3572dcc8dabd07784d1686d67e560e1685a6f /openbsd-compat
parent164725f40ecda144de706c94778e47dc86ae9257 (diff)
Cray fixes (bug 367) based on patch from Wendy Palm @ cray.
This does not include the deattack.c fixes.
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/bsd-cray.c4
-rw-r--r--openbsd-compat/bsd-cray.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/openbsd-compat/bsd-cray.c b/openbsd-compat/bsd-cray.c
index 8a14b0807..edb3112b3 100644
--- a/openbsd-compat/bsd-cray.c
+++ b/openbsd-compat/bsd-cray.c
@@ -1,5 +1,5 @@
/*
- * $Id: bsd-cray.c,v 1.7 2002/07/23 21:00:18 mouring Exp $
+ * $Id: bsd-cray.c,v 1.8 2002/09/26 00:38:51 tim Exp $
*
* bsd-cray.c
*
@@ -34,7 +34,7 @@
* on UNICOS systems.
*
*/
-#if defined(_CRAY) && !defined(_CRAYSV2)
+#ifdef _UNICOS
#include <udb.h>
#include <tmpdir.h>
diff --git a/openbsd-compat/bsd-cray.h b/openbsd-compat/bsd-cray.h
index 0b75b2268..8868b4364 100644
--- a/openbsd-compat/bsd-cray.h
+++ b/openbsd-compat/bsd-cray.h
@@ -1,5 +1,5 @@
/*
- * $Id: bsd-cray.h,v 1.4 2002/07/23 21:00:18 mouring Exp $
+ * $Id: bsd-cray.h,v 1.5 2002/09/26 00:38:51 tim Exp $
*
* bsd-cray.h
*
@@ -37,7 +37,7 @@
#ifndef _BSD_CRAY_H
#define _BSD_CRAY_H
-#if defined(_CRAY) && !defined(_CRAYSV2)
+#ifdef _UNICOS
void cray_init_job(struct passwd *); /* init cray job */
void cray_job_termination_handler(int); /* process end of job signal */
void cray_login_failure(char *username, int errcode);