From d0812b5ad4874d628b9ae4926f247b2593805e1e Mon Sep 17 00:00:00 2001 From: Eric Allman Date: Fri, 8 Apr 1994 01:28:41 -0800 Subject: [PATCH] portability changes for SunOS and BSD/386 SCCS-vsn: usr.sbin/sendmail/src/conf.h 8.97 --- usr/src/usr.sbin/sendmail/src/conf.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/usr/src/usr.sbin/sendmail/src/conf.h b/usr/src/usr.sbin/sendmail/src/conf.h index a23fbd6c5c..4332088a68 100644 --- a/usr/src/usr.sbin/sendmail/src/conf.h +++ b/usr/src/usr.sbin/sendmail/src/conf.h @@ -5,7 +5,7 @@ * * %sccs.include.redist.c% * - * @(#)conf.h 8.96 (Berkeley) %G% + * @(#)conf.h 8.97 (Berkeley) %G% */ /* @@ -229,6 +229,11 @@ extern int syslog(int, char *, ...); typedef int pid_t; extern char *getenv(); +# else + /* 4.1.x specifics */ +# define HASSETSID 1 /* has Posix setsid(2) call */ +# define HASSETVBUF 1 /* we have setvbuf(3) in libc */ + # endif # endif #endif @@ -371,8 +376,7 @@ typedef int pid_t; # define SFS_TYPE SFS_MOUNT /* use statfs() impl */ # if defined(_BSDI_VERSION) && _BSDI_VERSION >= 199312 # define HASSETPROCTITLE 1 /* setproctitle is in libc */ -# else -# define SETPROCTITLE 1 +# undef SETPROCTITLE /* so don't redefine it in conf.c */ # endif # include # define ERRLIST_PREDEFINED /* don't declare sys_errlist */ -- 2.20.1