From 82090e5c3dcc8230fe8d883841a15f64ea208298 Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Sun, 12 Jul 2020 18:03:54 -0700 Subject: [PATCH] Go with the more BSD flavor of Solaris and don't redefine index/rindex/bcopy/etc modified: inc/version.h --- inc/version.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/inc/version.h b/inc/version.h index dfd0efc..6df1806 100755 --- a/inc/version.h +++ b/inc/version.h @@ -349,15 +349,11 @@ typedef signed char s_char; /* */ /********************************************************/ #ifdef OS5 - /* Solaris, sort of SYSV-ish */ + /* Solaris, sort of SYSV-ish, but not really */ #undef HAS_GETHOSTID -#define SYSVONLY 1 +#define BSD_COMP 1 #define SYSVSIGNALS 1 -#define index strchr -#define rindex strrchr -#define bzero(b,n) memset(b,0,n) -#define bcmp(a,b,n) memcmp(a,b,n) -#define bcopy(a,b,n) memcpy(b,a,n) +#define WAITINT 1 #define L_SET SEEK_SET #define NOFORN #define LOCK_X_UPDATES 1