summaryrefslogtreecommitdiff
path: root/h/zephyr
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>1994-10-31 01:00:25 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>1994-10-31 01:00:25 +0000
commitf1b6d6b0a78b62bdad75782a38663db87f8da23c (patch)
tree6bba2c4b06c5c8766c8c48909372fc9eb9cff7dc /h/zephyr
parent2c0179118fbfc299829523d505609f32d862d9c6 (diff)
A few changes for SunOS and the /etc/athena/zephyr config files.
Diffstat (limited to 'h/zephyr')
-rw-r--r--h/zephyr/zephyr_conf.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/h/zephyr/zephyr_conf.h b/h/zephyr/zephyr_conf.h
index 850c85a..b49228f 100644
--- a/h/zephyr/zephyr_conf.h
+++ b/h/zephyr/zephyr_conf.h
@@ -21,14 +21,15 @@
#ifdef Z_HaveKerberos
#define SERVER_SERVICE "zephyr"
#define SERVER_INSTANCE "zephyr"
+#define SERVER_SRVTAB "/etc/athena/zephyr/srvtab"
#endif
/* General filenames */
#define DEFAULT_VARS_FILE "/etc/athena/zephyr.vars"
/* Service names */
-#define HM_SVCNAME "zephyr-hm"
-#define SERVER_SVCNAME "zephyr-clt"
+#define HM_SVCNAME "zephyr-hm"
+#define SERVER_SVCNAME "zephyr-clt"
#if defined(vax) || defined(ibm032)
#define memset(a,b,c) bzero(a,c)
@@ -38,6 +39,18 @@
#define strrchr rindex
#endif
+#ifdef SUNOS
+extern char *sys_errlist[];
+
+#ifndef memmove
+#define memmove(a,b,c) bcopy(b,a,c)
+#endif
+
+#ifndef memmove
+#define strerror(e) (sys_errlist[e])
+#endif
+#endif
+
#ifdef ultrix
/* If you are using Ultrix versions prior to 3.0, uncomment the following
* three lines so that users don't need to specify -DULTRIX22 on their