2 * Copyright (c) 2000-2001 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.
9 * $Id: sm_os_sunos.h,v 1.15 2013-11-22 20:51:34 ca Exp $
13 ** platform definitions for SunOS 4.0.3, SunOS 4.1.x and Solaris 2.x
16 #define SM_OS_NAME "sunos"
20 ** Solaris 2.x (aka SunOS 5.x)
21 ** M4 config file is devtools/OS/SunOS.5.x, which defines the SOLARIS macro.
24 # define SM_CONF_LONGLONG 1
26 # define SM_CONF_SHM 1
27 # endif /* SM_CONF_SHM */
29 # define SM_CONF_SEM 2
30 # endif /* SM_CONF_SEM */
32 # define SM_CONF_MSG 1
33 # endif /* SM_CONF_MSG */
38 ** SunOS 4.0.3 or 4.1.x
41 # define SM_CONF_SSIZE_T 0
42 # ifndef SM_CONF_BROKEN_SIZE_T
43 # define SM_CONF_BROKEN_SIZE_T 1 /* size_t is signed? */
44 # endif /* SM_CONF_BROKEN_SIZE_T */
46 # ifndef SM_CONF_BROKEN_STRTOD
47 # define SM_CONF_BROKEN_STRTOD 1
48 # endif /* ! SM_CONF_BROKEN_STRTOD */
50 /* has memchr() prototype? (if not: needs memory.h) */
51 # ifndef SM_CONF_MEMCHR
52 # define SM_CONF_MEMCHR 0
53 # endif /* ! SM_CONF_MEMCHR */
59 ** M4 config file is devtools/OS/SunOS4.0, which defines the SUNOS403 macro.
66 ** M4 config file is devtools/OS/SunOS, which defines no macros.
69 # endif /* SUNOS403 */