diff --git a/contrib/sendmail/include/sm/os/sm_os_freebsd.h b/contrib/sendmail/include/sm/os/sm_os_freebsd.h index fb00760a4301..db7dbf2b61cd 100644 --- a/contrib/sendmail/include/sm/os/sm_os_freebsd.h +++ b/contrib/sendmail/include/sm/os/sm_os_freebsd.h @@ -1,48 +1,44 @@ /* * Copyright (c) 2000-2001, 2018 Proofpoint, Inc. and its suppliers. * All rights reserved. * * By using this file, you agree to the terms and conditions set * forth in the LICENSE file which can be found at the top level of * the sendmail distribution. */ /* ** Platform definitions for FreeBSD */ #define SM_OS_NAME "freebsd" #define SM_CONF_SYS_CDEFS_H 1 #if __FreeBSD__ >= 2 # include /* defines __FreeBSD_version */ # if __FreeBSD_version >= 199512 /* 2.2-current when it appeared */ # define MI_SOMAXCONN -1 /* listen() max backlog for milter */ # endif /* __FreeBSD_version >= 199512 */ # if __FreeBSD_version >= 330000 /* 3.3.0-release and later have strlcpy()/strlcat() */ # ifndef SM_CONF_STRL # define SM_CONF_STRL 1 # endif # endif # if __FreeBSD_version >= 1200059 # ifndef SM_CONF_SEM # define SM_CONF_SEM 2 /* union semun is no longer declared by default */ # endif # endif #endif #ifndef SM_CONF_SHM # define SM_CONF_SHM 1 #endif #ifndef SM_CONF_SEM -# if __FreeBSD_version >= 1200059 -# define SM_CONF_SEM 2 /* union semun is no longer declared by default */ -# else -# define SM_CONF_SEM 1 -# endif +# define SM_CONF_SEM 1 #endif #ifndef SM_CONF_MSG # define SM_CONF_MSG 1 #endif