1/* Definitions file for GNU Emacs running on Silicon Graphics Irix system 6.0.
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#include "irix5-0.h"
25
26/* Irix 6 tries to do 64 bits, but doesn't do it fully,
27   so inhibit that.  */
28#define IRIX_FORCE_32_BITS
29
30#ifndef __GNUC__
31#define LD_SWITCH_SYSTEM -32
32#endif
33
34/* This macro definition, which we inherited from irix5-0.h,
35   is needed in configure on Irix 5, but gets in the way there
36   on Irix 6.  So get rid of it except in Makefile.in where we need it.  */
37#ifndef THIS_IS_MAKEFILE
38#undef C_SWITCH_SYSTEM
39#endif
40
41/* The only supported 32-bit configuration of GCC under IRIX6.x produces
42   n32 MIPS ABI binaries and also supports -g. */
43#ifdef __GNUC__
44#undef C_DEBUG_SWITCH
45#define C_DEBUG_SWITCH -g
46#endif
47
48#undef SA_RESTART
49
50/* It turns out that the #define in irix5-0.h is needed in Irix 6 as well.  */
51#if 0
52/* Cancel the #define that is in irix5-0.h.  */
53#undef ospeed
54#endif
55
56#undef TIOCSIGSEND
57
58/* Tested on Irix 6.5.  SCM worked on earlier versions.  */
59#define GC_SETJMP_WORKS 1
60#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
61
62/* arch-tag: a775e465-a619-4655-a58f-5982aad0c624
63   (do not change this comment) */
64