Import sendmail 8.13.4 into a new contrib directory as the first step
[dragonfly.git] / contrib / sendmail-8.13.4 / include / sm / os / sm_os_sunos.h
blob9d20b18be6171eec6ba4301f74c95729ea68b7e7
1 /*
2 * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
3 * All rights reserved.
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 $
13 ** platform definitions for SunOS 4.0.3, SunOS 4.1.x and Solaris 2.x
16 #define SM_OS_NAME "sunos"
18 #ifdef SOLARIS
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
25 # ifndef SM_CONF_SHM
26 # define SM_CONF_SHM 1
27 # endif /* SM_CONF_SHM */
28 # ifndef SM_CONF_SEM
29 # define SM_CONF_SEM 2
30 # endif /* SM_CONF_SEM */
31 # ifndef SM_CONF_MSG
32 # define SM_CONF_MSG 1
33 # endif /* SM_CONF_MSG */
35 #else /* SOLARIS */
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 */
55 # ifdef SUNOS403
58 ** SunOS 4.0.3
59 ** M4 config file is devtools/OS/SunOS4.0, which defines the SUNOS403 macro.
62 # else /* SUNOS403 */
65 ** SunOS 4.1.x
66 ** M4 config file is devtools/OS/SunOS, which defines no macros.
69 # endif /* SUNOS403 */
70 #endif /* SOLARIS */