2 * Copyright (c) 2000-2001 Sendmail, 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.14 2001/08/14 18:09:42 ca Exp $
12 #pragma ident "%Z%%M% %I% %E% SMI"
15 ** platform definitions for SunOS 4.0.3, SunOS 4.1.x and Solaris 2.x
18 #define SM_OS_NAME "sunos"
22 ** Solaris 2.x (aka SunOS 5.x)
23 ** M4 config file is devtools/OS/SunOS.5.x, which defines the SOLARIS macro.
26 # define SM_CONF_LONGLONG 1
28 # define SM_CONF_SHM 1
29 # endif /* SM_CONF_SHM */
31 # define SM_CONF_SEM 2
32 # endif /* SM_CONF_SEM */
34 # define SM_CONF_MSG 1
35 # endif /* SM_CONF_MSG */
40 ** SunOS 4.0.3 or 4.1.x
43 # define SM_CONF_SSIZE_T 0
44 # ifndef SM_CONF_BROKEN_SIZE_T
45 # define SM_CONF_BROKEN_SIZE_T 1 /* size_t is signed? */
46 # endif /* SM_CONF_BROKEN_SIZE_T */
48 # ifndef SM_CONF_BROKEN_STRTOD
49 # define SM_CONF_BROKEN_STRTOD 1
50 # endif /* ! SM_CONF_BROKEN_STRTOD */
52 /* has memchr() prototype? (if not: needs memory.h) */
53 # ifndef SM_CONF_MEMCHR
54 # define SM_CONF_MEMCHR 0
55 # endif /* ! SM_CONF_MEMCHR */
61 ** M4 config file is devtools/OS/SunOS4.0, which defines the SUNOS403 macro.
68 ** M4 config file is devtools/OS/SunOS, which defines no macros.
71 # endif /* SUNOS403 */