(Highlight Interactively): Correct description of hi-lock-file-patterns-policy.
[emacs.git] / src / s / sunos4-0.h
bloba107b609a0cbcb91f327c5a2503b14f294483698
1 /* Definitions file for GNU Emacs running on sunos 4.0.
3 Copyright (C) 1994, 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 2, 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 "bsd4-2.h"
26 #ifndef SUNOS4
27 #define SUNOS4
28 #endif
30 #if 0 /* This may have been needed for an earlier version of Sun OS 4.
31 It seems to cause warnings in 4.0.3 and 4.1. */
32 #define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */
33 #endif
35 /* We use the Sun syntax -Bstatic unconditionally, because even when we
36 use GCC, these are passed through to the linker, not handled by GCC
37 directly. */
38 #define LD_SWITCH_SYSTEM -Bstatic
40 /* We use this for linking temacs, but not for other programs
41 or for tests in configure. */
42 #define LD_SWITCH_SYSTEM_TEMACS -e __start
44 /* In SunOS 4.1, a static function called by tzsetwall reportedly
45 clears the byte just past an eight byte region it mallocs, corrupting
46 GNU malloc's memory pool. But Sun's malloc doesn't seem to mind. */
48 #define SYSTEM_MALLOC
50 /* SunOS 4.x cc <stdlib.h> declares abort and free to return int. */
52 #ifndef __STDC__
53 #define ABORT_RETURN_TYPE int
54 #define FREE_RETURN_TYPE int
55 #endif
57 #ifdef __GNUC__
58 /* We must define mkdir with this arg prototype
59 to match GCC's fixed stat.h. */
60 #define MKDIR_PROTOTYPE \
61 int mkdir (const char *dpath, unsigned short dmode)
62 #endif /* __GNUC__ */
64 /* Must use the system's termcap, if we use any termcap.
65 It does special things. */
67 #ifndef TERMINFO
68 #define LIBS_TERMCAP -ltermcap
69 #endif
71 #define GC_SETJMP_WORKS 1
72 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
74 /* arch-tag: 362f3bfc-810d-4f6e-9b83-5a32f8f1a926
75 (do not change this comment) */