*** empty log message ***
[emacs.git] / src / mach2.h
blobc941c5ff2cfab712774052cc76da36b152bfd7df
1 /* Definitions for Emacs running on Mach version 2 (non-kernelized system).
2 Copyright (C) 1990 Free Software Foundation, Inc.
4 This file is part of GNU Emacs.
6 GNU Emacs is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
11 GNU Emacs is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU Emacs; see the file COPYING. If not, write to
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
20 #include "bsd4-3.h"
22 /* SYSTEM_TYPE should indicate the kind of system you are using.
23 It sets the Lisp variable system-type. We'll need to undo the bsd one. */
25 #undef SYSTEM_TYPE
26 #define SYSTEM_TYPE "next-mach"
28 #define LD_SWITCH_SYSTEM -X -noseglinkedit
30 /* Don't use -lc on the NeXT. */
31 #define LIB_STANDARD -lsys_s
32 #define LIB_MATH -lm
34 #define environ _environ
36 #define START_FILES pre-crt0.o
37 #define UNEXEC unexnext.o
39 /* start_of_text isn't actually used, so make it compile without error. */
40 #define TEXT_START 0
41 /* This seems to be right for end_of_text, but it may not be used anyway. */
42 #define TEXT_END get_etext ()
43 /* This seems to be right for end_of_data, but it may not be used anyway. */
44 #define DATA_END get_edata ()
46 /* Defining KERNEL_FILE causes lossage because sys/file.h
47 stupidly gets confused by it. */
48 #undef KERNEL_FILE