(find-file): Fix last change.
[emacs.git] / src / s / irix6-0.h
blob53fdbd1b8f72627796c2a830b02e15b4d1fda7ca
1 /* Definitions file for GNU Emacs running on Silicon Graphics Irix system 6.0.
3 Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
4 2007 Free Software Foundation, Inc.
6 This file is part of GNU Emacs.
8 GNU Emacs is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3, or (at your option)
11 any later version.
13 GNU Emacs is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with GNU Emacs; see the file COPYING. If not, write to
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA. */
24 #include "irix5-0.h"
26 /* Irix 6 tries to do 64 bits, but doesn't do it fully,
27 so inhibit that. */
28 #define IRIX_FORCE_32_BITS
30 #ifndef __GNUC__
31 #define LD_SWITCH_SYSTEM -32
32 #endif
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
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
48 #undef SA_RESTART
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
56 #undef TIOCSIGSEND
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
62 /* arch-tag: a775e465-a619-4655-a58f-5982aad0c624
63 (do not change this comment) */