Mercurial > emacs
comparison src/s/netbsd.h @ 108561:23f4cd23ea89
merge trunk
author | Kenichi Handa <handa@etlken> |
---|---|
date | Fri, 14 May 2010 13:15:58 +0900 |
parents | 2cfa49f6fadb |
children | 5a44435f0c71 |
comparison
equal
deleted
inserted
replaced
108552:03ab6621f67d | 108561:23f4cd23ea89 |
---|---|
17 | 17 |
18 You should have received a copy of the GNU General Public License | 18 You should have received a copy of the GNU General Public License |
19 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | 19 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
20 | 20 |
21 | 21 |
22 /* Get most of the stuff from bsd-common */ | 22 /* Get most of the stuff from bsd-common. */ |
23 #include "bsd-common.h" | 23 #include "bsd-common.h" |
24 | 24 |
25 #define HAVE_GETLOADAVG 1 | 25 #define HAVE_GETLOADAVG 1 |
26 | 26 |
27 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) | 27 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) |
28 | 28 |
29 #undef LIB_GCC | |
30 #define LIB_GCC | |
31 | |
32 #define AMPERSAND_FULL_NAME | |
33 | |
34 /* On post 1.3 releases of NetBSD, gcc -nostdlib also clears | 29 /* On post 1.3 releases of NetBSD, gcc -nostdlib also clears |
35 the library search parth, i.e. it won't search /usr/lib | 30 the library search parth, i.e. it won't search /usr/lib |
36 for libc and friends. Using -nostartfiles instead avoids | 31 for libc and friends. Using -nostartfiles instead avoids |
37 this problem, and will also work on earlier NetBSD releases */ | 32 this problem, and will also work on earlier NetBSD releases. */ |
38 | |
39 #define LINKER $(CC) -nostartfiles | 33 #define LINKER $(CC) -nostartfiles |
40 | 34 |
41 #define DEFAULT_SOUND_DEVICE "/dev/audio" | 35 #define DEFAULT_SOUND_DEVICE "/dev/audio" |
42 | 36 |
43 /* Greg A. Woods <woods@weird.com> says we must include signal.h | 37 /* Greg A. Woods <woods@weird.com> says we must include signal.h |
44 before syssignal.h is included, to work around interface conflicts | 38 before syssignal.h is included, to work around interface conflicts |
45 that are handled with CPP __RENAME() macro in signal.h. */ | 39 that are handled with CPP __RENAME() macro in signal.h. */ |
46 | |
47 #ifndef NOT_C_CODE | 40 #ifndef NOT_C_CODE |
48 #include <signal.h> | 41 #include <signal.h> |
49 #endif | 42 #endif |
50 | 43 |
51 /* Don't close pty in process.c to make it as controlling terminal. | 44 /* Don't close pty in process.c to make it as controlling terminal. |
52 It is already a controlling terminal of subprocess, because we did | 45 It is already a controlling terminal of subprocess, because we did |
53 ioctl TIOCSCTTY. */ | 46 ioctl TIOCSCTTY. */ |
54 | |
55 #define DONT_REOPEN_PTY | 47 #define DONT_REOPEN_PTY |
56 | 48 |
57 /* Tell that garbage collector that setjmp is known to save all | 49 /* Tell that garbage collector that setjmp is known to save all |
58 registers relevant for conservative garbage collection in the | 50 registers relevant for conservative garbage collection in the jmp_buf. */ |
59 jmp_buf. */ | |
60 | |
61 #define GC_SETJMP_WORKS 1 | 51 #define GC_SETJMP_WORKS 1 |
62 | 52 |
63 /* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method. */ | 53 /* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method. */ |
64 | |
65 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS | 54 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS |
66 | 55 |
67 /* arch-tag: e80f364a-04e9-4faf-93cb-f36a0fe95c81 | 56 /* arch-tag: e80f364a-04e9-4faf-93cb-f36a0fe95c81 |
68 (do not change this comment) */ | 57 (do not change this comment) */ |