From 3e67a39f2852fcd6ee8e6893b5d8882208c886e6 Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Fri, 24 Sep 1993 12:12:16 +0000 Subject: For the vax/rt, define strchr/strrchr to be index/rindex Define _BCOPY, _BZERO, _BCMP macros to be either BSD or ANSI style. --- h/zephyr/zephyr_conf.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'h/zephyr') diff --git a/h/zephyr/zephyr_conf.h b/h/zephyr/zephyr_conf.h index 240b7b8..938c936 100644 --- a/h/zephyr/zephyr_conf.h +++ b/h/zephyr/zephyr_conf.h @@ -30,6 +30,21 @@ #define HM_SVCNAME "zephyr-hm" #define SERVER_SVCNAME "zephyr-clt" +#if defined(vax) && !defined(ultrix) +#define _BCOPY bcopy +#define _BZERO bzero +#define _BCMP bcmp +#else +#define _BCOPY(a,b,n) memmove(b,a,n) +#define _BZERO(a,n) memset(a,0,n) +#define _BCMP(a,b,n) memcmp(a,b,n) +#endif + +#if defined(vax) || defined(ibm032) +#define strchr index +#define strrchr rindex +#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 -- cgit v1.2.3