*** empty log message ***
[bpt/emacs.git] / src / s / irix6-0.h
CommitLineData
1df19e58
GM
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,
01122546 4 2007, 2008 Free Software Foundation, Inc.
1df19e58
GM
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
4a9f99bd 10the Free Software Foundation; either version 3, or (at your option)
1df19e58
GM
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
a2a9c59e
RS
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
14ee2e03
RS
29
30#ifndef __GNUC__
31#define LD_SWITCH_SYSTEM -32
32#endif
923735b7
KH
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
c0f8e3a9 40
15fe470f 41/* The only supported 32-bit configuration of GCC under IRIX6.x produces
26507191
RS
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
c0f8e3a9 48#undef SA_RESTART
f74e8587 49
b60f4a5c
RS
50/* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */
51#if 0
15fe470f 52/* Cancel the #define that is in irix5-0.h. */
f74e8587 53#undef ospeed
b60f4a5c 54#endif
5cfc5cbe 55
234f1ae9 56#undef TIOCSIGSEND
6b2fd6ea
DL
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
ab5796a9
MB
61
62/* arch-tag: a775e465-a619-4655-a58f-5982aad0c624
63 (do not change this comment) */