2 * Copyright (c) 2000-2001, 2018 Proofpoint, Inc. and its suppliers.
5 * By using this file, you agree to the terms and conditions set
6 * forth in the LICENSE file which can be found at the top level of
7 * the sendmail distribution.
11 ** Platform definitions for FreeBSD
14 #define SM_OS_NAME "freebsd"
16 #define SM_CONF_SYS_CDEFS_H 1
19 # include <osreldate.h> /* defines __FreeBSD_version */
20 # if __FreeBSD_version >= 199512 /* 2.2-current when it appeared */
21 # define MI_SOMAXCONN -1 /* listen() max backlog for milter */
22 # endif /* __FreeBSD_version >= 199512 */
23 # if __FreeBSD_version >= 330000
24 /* 3.3.0-release and later have strlcpy()/strlcat() */
26 # define SM_CONF_STRL 1
32 # define SM_CONF_SHM 1
36 # define SM_CONF_SEM 2 /* union semun is now longer available by default */
38 # define SM_CONF_SEM 1
42 # define SM_CONF_MSG 1