xref: /freebsd/contrib/sendmail/include/sm/os/sm_os_aix.h (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1 /*
2  * Copyright (c) 2000-2001, 2003 Proofpoint, Inc. and its suppliers.
3  *	All rights reserved.
4  *
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.
8  *
9  *	$Id: sm_os_aix.h,v 1.12 2013-11-22 20:51:34 ca Exp $
10  */
11 
12 /*
13 **  sm_os_aix.h -- platform definitions for AIX
14 */
15 
16 #define SM_OS_NAME	"aix"
17 
18 #ifndef SM_CONF_SHM
19 # define SM_CONF_SHM	1
20 #endif /* SM_CONF_SHM */
21 #ifndef SM_CONF_SEM
22 # define SM_CONF_SEM	2
23 #endif /* SM_CONF_SEM */
24 #ifndef SM_CONF_MSG
25 # define SM_CONF_MSG	1
26 #endif /* SM_CONF_MSG */
27 
28 /* AIX 3 doesn't have a prototype for syslog()? */
29 #ifdef _AIX3
30 # ifndef _AIX4
31 #  ifndef SM_CONF_SYSLOG
32 #   define SM_CONF_SYSLOG	0
33 #  endif /* SM_CONF_SYSLOG */
34 # endif /* ! _AIX4 */
35 #endif /* _AIX3 */
36 
37 #if _AIX5 >= 50200
38 # define SM_CONF_LONGLONG	1
39 #endif /* _AIX5 >= 50200 */
40