1/* Handcrafted m-mac.h file for building GNU Emacs on the Macintosh. 2 Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 3 2005, 2006, 2007 Free Software Foundation, Inc. 4 5This file is part of GNU Emacs. 6 7GNU Emacs is free software; you can redistribute it and/or modify 8it under the terms of the GNU General Public License as published by 9the Free Software Foundation; either version 2, or (at your option) 10any later version. 11 12GNU Emacs is distributed in the hope that it will be useful, 13but WITHOUT ANY WARRANTY; without even the implied warranty of 14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15GNU General Public License for more details. 16 17You should have received a copy of the GNU General Public License 18along with GNU Emacs; see the file COPYING. If not, write to 19the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 20Boston, MA 02110-1301, USA. */ 21 22/* Contributed by Andrew Choi (akochoi@mac.com). */ 23 24/* The following line tells the configuration script what sort of 25 operating system this machine is likely to run. 26 USUAL-OPSYS="<name of system .h file here, without the s- or .h>" */ 27 28/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word 29 is the most significant byte. */ 30#ifdef __BIG_ENDIAN__ 31#define WORDS_BIG_ENDIAN 32#else 33#undef WORDS_BIG_ENDIAN 34#endif 35/* Define NO_ARG_ARRAY if you cannot take the address of the first of a 36 * group of arguments and treat it as an array of the arguments. */ 37 38#define NO_ARG_ARRAY 39 40/* Define WORD_MACHINE if addresses and such have 41 * to be corrected before they can be used as byte counts. */ 42 43/* #define WORD_MACHINE */ 44 45/* Now define a symbol for the cpu type, if your compiler 46 does not define it automatically: 47 Ones defined so far include vax, m68000, ns16000, pyramid, 48 orion, tahoe, APOLLO and many others */ 49 50/* Use type int rather than a union, to represent Lisp_Object */ 51/* This is desirable for most machines. */ 52 53#define NO_UNION_TYPE 54 55/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend 56 the 24-bit bit field into an int. In other words, if bit fields 57 are always unsigned. 58 59 If you use NO_UNION_TYPE, this flag does not matter. */ 60 61#define EXPLICIT_SIGN_EXTEND 62 63/* Data type of load average, as read out of kmem. */ 64 65/* #define LOAD_AVE_TYPE long */ 66 67/* Convert that into an integer that is 100 for a load average of 1.0 */ 68 69/* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ 70 71/* Define CANNOT_DUMP on machines where unexec does not work. 72 Then the function dump-emacs will not be defined 73 and temacs will do (load "loadup") automatically unless told otherwise. */ 74 75/* #define CANNOT_DUMP */ 76 77/* Define VIRT_ADDR_VARIES if the virtual addresses of 78 pure and impure space as loaded can vary, and even their 79 relative order cannot be relied on. 80 81 Otherwise Emacs assumes that text space precedes data space, 82 numerically. */ 83 84#define VIRT_ADDR_VARIES 85 86/* Define NO_REMAP if memory segmentation makes it not work well 87 to change the boundary between the text section and data section 88 when Emacs is dumped. If you define this, the preloaded Lisp 89 code will not be sharable; but that's better than failing completely. */ 90 91/* #define NO_REMAP */ 92 93/* Some really obscure 4.2-based systems (like Sequent DYNIX) 94 * do not support asynchronous I/O (using SIGIO) on sockets, 95 * even though it works fine on tty's. If you have one of 96 * these systems, define the following, and then use it in 97 * config.h (or elsewhere) to decide when (not) to use SIGIO. 98 * 99 * You'd think this would go in an operating-system description file, 100 * but since it only occurs on some, but not all, BSD systems, the 101 * reasonable place to select for it is in the machine description 102 * file. 103 */ 104 105#define NO_SOCK_SIGIO 106 107 108/* After adding support for a new system, modify the large case 109 statement in the `configure' script to recognize reasonable 110 configuration names, and add a description of the system to 111 `etc/MACHINES'. 112 113 If you've just fixed a problem in an existing configuration file, 114 you should also check `etc/MACHINES' to make sure its descriptions 115 of known problems in that configuration should be updated. */ 116 117/* MPW build crashes if this is not defined. */ 118#ifdef __MRC__ 119#define IEEE_FLOATING_POINT 1 120#endif 121 122/* arch-tag: 9e759031-ab7b-4c76-99d7-3ae94a98de38 123 (do not change this comment) */ 124