diff options
| author | Karoly Lorentey | 2004-12-08 22:20:27 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-12-08 22:20:27 +0000 |
| commit | fad2f6858075f49c4c8fd16f0535c287e3f14ac3 (patch) | |
| tree | 843a2ffe6caea6201877e3d2f1b6b954f47344b5 /src/s | |
| parent | 856dd47583918edd7987c13334703d3e7492d8f4 (diff) | |
| parent | b11e88237593ff7556d8535305e8f342e6b61d66 (diff) | |
| download | emacs-fad2f6858075f49c4c8fd16f0535c287e3f14ac3.tar.gz emacs-fad2f6858075f49c4c8fd16f0535c287e3f14ac3.zip | |
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-714
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-271
Diffstat (limited to 'src/s')
| -rw-r--r-- | src/s/darwin.h | 11 | ||||
| -rw-r--r-- | src/s/gnu-linux.h | 14 |
2 files changed, 23 insertions, 2 deletions
diff --git a/src/s/darwin.h b/src/s/darwin.h index f854ed9380b..9f78405a43c 100644 --- a/src/s/darwin.h +++ b/src/s/darwin.h | |||
| @@ -217,6 +217,13 @@ Boston, MA 02111-1307, USA. */ | |||
| 217 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | 217 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ |
| 218 | #define HAVE_SOCKETS | 218 | #define HAVE_SOCKETS |
| 219 | 219 | ||
| 220 | /* In Carbon, asynchronous I/O (using SIGIO) can't be used for window | ||
| 221 | events because they don't come from sockets, even though it works | ||
| 222 | fine on tty's. */ | ||
| 223 | #ifdef HAVE_CARBON | ||
| 224 | #define NO_SOCK_SIGIO | ||
| 225 | #endif | ||
| 226 | |||
| 220 | /* Extra initialization calls in main for Mac OS X system type. */ | 227 | /* Extra initialization calls in main for Mac OS X system type. */ |
| 221 | #ifdef HAVE_CARBON | 228 | #ifdef HAVE_CARBON |
| 222 | #define SYMS_SYSTEM syms_of_mac() | 229 | #define SYMS_SYSTEM syms_of_mac() |
| @@ -314,6 +321,10 @@ struct kboard; | |||
| 314 | #define free unexec_free | 321 | #define free unexec_free |
| 315 | #endif | 322 | #endif |
| 316 | 323 | ||
| 324 | /* This makes create_process in process.c save and restore signal | ||
| 325 | handlers correctly. Suggested by Nozomu Ando.*/ | ||
| 326 | #define POSIX_SIGNALS | ||
| 327 | |||
| 317 | /* Reroute calls to SELECT to the version defined in mac.c to fix the | 328 | /* Reroute calls to SELECT to the version defined in mac.c to fix the |
| 318 | problem of Emacs requiring an extra return to be typed to start | 329 | problem of Emacs requiring an extra return to be typed to start |
| 319 | working when started from the command line. */ | 330 | working when started from the command line. */ |
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index 033ce49293a..3cf21756d7d 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* This file is the configuration file for Linux-based GNU systems | 1 | /* This file is the configuration file for Linux-based GNU systems |
| 2 | Copyright (C) 1985, 86, 92, 94, 96, 1999, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 86, 92, 94, 96, 1999, 2002, 2004 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -355,12 +355,22 @@ Boston, MA 02111-1307, USA. */ | |||
| 355 | 355 | ||
| 356 | #if defined __i386__ || defined __sparc__ || defined __mc68000__ \ | 356 | #if defined __i386__ || defined __sparc__ || defined __mc68000__ \ |
| 357 | || defined __alpha__ || defined __mips__ || defined __s390__ \ | 357 | || defined __alpha__ || defined __mips__ || defined __s390__ \ |
| 358 | || defined __arm__ || defined __powerpc__ || defined __amd64__ | 358 | || defined __arm__ || defined __powerpc__ || defined __amd64__ \ |
| 359 | || defined __ia64__ | ||
| 359 | #define GC_SETJMP_WORKS 1 | 360 | #define GC_SETJMP_WORKS 1 |
| 360 | #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS | 361 | #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS |
| 361 | #ifdef __mc68000__ | 362 | #ifdef __mc68000__ |
| 362 | #define GC_LISP_OBJECT_ALIGNMENT 2 | 363 | #define GC_LISP_OBJECT_ALIGNMENT 2 |
| 363 | #endif | 364 | #endif |
| 365 | #ifdef __ia64__ | ||
| 366 | #define GC_MARK_SECONDARY_STACK() \ | ||
| 367 | do { \ | ||
| 368 | extern void *__libc_ia64_register_backing_store_base; \ | ||
| 369 | __builtin_ia64_flushrs (); \ | ||
| 370 | mark_memory (__libc_ia64_register_backing_store_base, \ | ||
| 371 | __builtin_ia64_bsp ()); \ | ||
| 372 | } while (0) | ||
| 373 | #endif | ||
| 364 | #endif | 374 | #endif |
| 365 | 375 | ||
| 366 | /* arch-tag: 6244ea2a-abd0-44ec-abec-ff3dcc9afea9 | 376 | /* arch-tag: 6244ea2a-abd0-44ec-abec-ff3dcc9afea9 |