2 * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
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_irix.h,v 1.8 2013-11-22 20:51:34 ca Exp $
13 ** Silicon Graphics IRIX
17 ** Use IRIX64 instead of IRIX for 64-bit IRIX (6.0).
18 ** Use IRIX5 instead of IRIX for IRIX 5.x.
20 ** This version tries to be adaptive using _MIPS_SIM:
21 ** _MIPS_SIM == _ABIO32 (= 1) Abi: -32 on IRIX 6.2
22 ** _MIPS_SIM == _ABIN32 (= 2) Abi: -n32 on IRIX 6.2
23 ** _MIPS_SIM == _ABI64 (= 3) Abi: -64 on IRIX 6.2
25 ** _MIPS_SIM is 1 also on IRIX 5.3
27 ** IRIX64 changes from Mark R. Levinson <ml@cvdev.rochester.edu>.
28 ** IRIX5 changes from Kari E. Hurtta <Kari.Hurtta@fmi.fi>.
29 ** Adaptive changes from Kari E. Hurtta <Kari.Hurtta@fmi.fi>.
35 #if _MIPS_SIM > 0 && !defined(IRIX5)
36 # define IRIX5 /* IRIX5 or IRIX6 */
37 #endif /* _MIPS_SIM > 0 && !defined(IRIX5) */
38 #if _MIPS_SIM > 1 && !defined(IRIX6) && !defined(IRIX64)
39 # define IRIX6 /* IRIX6 */
40 #endif /* _MIPS_SIM > 1 && !defined(IRIX6) && !defined(IRIX64) */
42 #define SM_OS_NAME "irix"
44 #if defined(IRIX6) || defined(IRIX64)
45 # define SM_CONF_LONGLONG 1
46 #endif /* defined(IRIX6) || defined(IRIX64) */
48 #if defined(IRIX64) || defined(IRIX5) || defined(IRIX6)
49 # define SM_CONF_SYS_CDEFS_H 1
50 #endif /* defined(IRIX64) || defined(IRIX5) || defined(IRIX6) */
52 /* try LLONG tests in libsm/t-types.c? */
53 #ifndef SM_CONF_TEST_LLONG
54 # define SM_CONF_TEST_LLONG 0
55 #endif /* !SM_CONF_TEST_LLONG */