8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / sendmail / include / sm / os / sm_os_sunos.h
blobc5968bbaa00a34945b1082a8142958fe2587684c
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 $
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"
20 #ifdef SOLARIS
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
27 # ifndef SM_CONF_SHM
28 # define SM_CONF_SHM 1
29 # endif /* SM_CONF_SHM */
30 # ifndef SM_CONF_SEM
31 # define SM_CONF_SEM 2
32 # endif /* SM_CONF_SEM */
33 # ifndef SM_CONF_MSG
34 # define SM_CONF_MSG 1
35 # endif /* SM_CONF_MSG */
37 #else /* SOLARIS */
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 */
57 # ifdef SUNOS403
60 ** SunOS 4.0.3
61 ** M4 config file is devtools/OS/SunOS4.0, which defines the SUNOS403 macro.
64 # else /* SUNOS403 */
67 ** SunOS 4.1.x
68 ** M4 config file is devtools/OS/SunOS, which defines no macros.
71 # endif /* SUNOS403 */
72 #endif /* SOLARIS */