summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/include/sm/os/sm_os_irix.h
blob: 185485a9e1405eaa1f089610486cd10b16f7b197 (plain)
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
/*
 * 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_irix.h,v 1.7 2001/10/09 23:12:13 ca Exp $
 */

/*
**  Silicon Graphics IRIX
**
**	Compiles on 4.0.1.
**
**	Use IRIX64 instead of IRIX for 64-bit IRIX (6.0).
**	Use IRIX5 instead of IRIX for IRIX 5.x.
**
**	This version tries to be adaptive using _MIPS_SIM:
**		_MIPS_SIM == _ABIO32 (= 1)    Abi: -32 on IRIX 6.2
**		_MIPS_SIM == _ABIN32 (= 2)    Abi: -n32 on IRIX 6.2
**		_MIPS_SIM == _ABI64  (= 3)    Abi: -64 on IRIX 6.2
**
**		_MIPS_SIM is 1 also on IRIX 5.3
**
**	IRIX64 changes from Mark R. Levinson <ml@cvdev.rochester.edu>.
**	IRIX5 changes from Kari E. Hurtta <Kari.Hurtta@fmi.fi>.
**	Adaptive changes from Kari E. Hurtta <Kari.Hurtta@fmi.fi>.
*/

#ifndef IRIX
# define IRIX
#endif /* ! IRIX */
#if _MIPS_SIM > 0 && !defined(IRIX5)
# define IRIX5			/* IRIX5 or IRIX6 */
#endif /* _MIPS_SIM > 0 && !defined(IRIX5) */
#if _MIPS_SIM > 1 && !defined(IRIX6) && !defined(IRIX64)
# define IRIX6			/* IRIX6 */
#endif /* _MIPS_SIM > 1 && !defined(IRIX6) && !defined(IRIX64) */

#define SM_OS_NAME	"irix"

#if defined(IRIX6) || defined(IRIX64)
# define SM_CONF_LONGLONG	1
#endif /* defined(IRIX6) || defined(IRIX64) */

#if defined(IRIX64) || defined(IRIX5) || defined(IRIX6)
# define SM_CONF_SYS_CDEFS_H	1
#endif /* defined(IRIX64) || defined(IRIX5) || defined(IRIX6) */

/* try LLONG tests in libsm/t-types.c? */
#ifndef SM_CONF_TEST_LLONG
# define SM_CONF_TEST_LLONG	0
#endif /* !SM_CONF_TEST_LLONG */
OpenPOWER on IntegriCloud