blob: 9d20b18be6171eec6ba4301f74c95729ea68b7e7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
/*
* Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
* forth in the LICENSE file which can be found at the top level of
* the sendmail distribution.
*
* $Id: sm_os_sunos.h,v 1.14 2001/08/14 18:09:42 ca Exp $
*/
/*
** platform definitions for SunOS 4.0.3, SunOS 4.1.x and Solaris 2.x
*/
#define SM_OS_NAME "sunos"
#ifdef SOLARIS
/*
** Solaris 2.x (aka SunOS 5.x)
** M4 config file is devtools/OS/SunOS.5.x, which defines the SOLARIS macro.
*/
# define SM_CONF_LONGLONG 1
# ifndef SM_CONF_SHM
# define SM_CONF_SHM 1
# endif /* SM_CONF_SHM */
# ifndef SM_CONF_SEM
# define SM_CONF_SEM 2
# endif /* SM_CONF_SEM */
# ifndef SM_CONF_MSG
# define SM_CONF_MSG 1
# endif /* SM_CONF_MSG */
#else /* SOLARIS */
/*
** SunOS 4.0.3 or 4.1.x
*/
# define SM_CONF_SSIZE_T 0
# ifndef SM_CONF_BROKEN_SIZE_T
# define SM_CONF_BROKEN_SIZE_T 1 /* size_t is signed? */
# endif /* SM_CONF_BROKEN_SIZE_T */
# ifndef SM_CONF_BROKEN_STRTOD
# define SM_CONF_BROKEN_STRTOD 1
# endif /* ! SM_CONF_BROKEN_STRTOD */
/* has memchr() prototype? (if not: needs memory.h) */
# ifndef SM_CONF_MEMCHR
# define SM_CONF_MEMCHR 0
# endif /* ! SM_CONF_MEMCHR */
# ifdef SUNOS403
/*
** SunOS 4.0.3
** M4 config file is devtools/OS/SunOS4.0, which defines the SUNOS403 macro.
*/
# else /* SUNOS403 */
/*
** SunOS 4.1.x
** M4 config file is devtools/OS/SunOS, which defines no macros.
*/
# endif /* SUNOS403 */
#endif /* SOLARIS */
|