1/* Definitions file for GNU Emacs running on Silicon Graphics Irix system 6.5.
2
3Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
4  2007  Free Software Foundation, Inc.
5
6This file is part of GNU Emacs.
7
8GNU Emacs is free software; you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by
10the Free Software Foundation; either version 2, or (at your option)
11any later version.
12
13GNU Emacs is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU General Public License
19along with GNU Emacs; see the file COPYING.  If not, write to
20the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21Boston, MA 02110-1301, USA.  */
22
23
24#define IRIX6_5			/* used in m/iris4d */
25#include "irix5-0.h"
26
27#if _MIPS_SZLONG == 64		/* -mabi=64 (gcc) or -64 (MIPSpro) */
28#define _LP64			/* lisp.h takes care of the rest */
29#endif /* _MIPS_SZLONG */
30
31/* This macro definition, which we inherited from irix5-0.h,
32   is needed in configure on Irix 5, but gets in the way there
33   on Irix 6.  So get rid of it except in Makefile.in where we need it.  */
34#ifndef THIS_IS_MAKEFILE
35#undef C_SWITCH_SYSTEM
36#endif
37
38/* The only supported 32-bit configuration of GCC under IRIX6.x produces
39   n32 MIPS ABI binaries and also supports -g. */
40#ifdef __GNUC__
41#undef C_DEBUG_SWITCH
42#define C_DEBUG_SWITCH -g
43#else
44/* Optimize, inaccurate debugging, increase limit on size of what's
45   optimized.
46
47   This should also be applicable other than on Irix 6.5, but I don't
48   know for which compiler versions.  -- fx */
49#define C_DEBUG_SWITCH -g3 -O -OPT:Olimit=3500
50#endif
51
52#undef SA_RESTART
53
54/* Cancel the #define that is in irix5-0.h.  */
55#undef ospeed
56
57#undef TIOCSIGSEND		/* defined in usg5-4.h */
58
59/* Tested on Irix 6.5.  SCM worked on earlier versions.  */
60#define GC_SETJMP_WORKS 1
61#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
62
63/* arch-tag: d7ad9ec2-54ad-4b2f-adf2-0070c5c63e83
64   (do not change this comment) */
65