aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/gnu.h
diff options
context:
space:
mode:
authorStefan Monnier2012-03-25 16:37:21 -0400
committerStefan Monnier2012-03-25 16:37:21 -0400
commit699c782b7668c44d0fa4446331b0590a6d5dac82 (patch)
tree5dcce364741d0761920a3d274b0fc8aba4103d45 /src/s/gnu.h
parent98fb480ee31bf74cf554044f60f21df16566dd7f (diff)
parente99a9b8bdccadded1f6fae88ee7a2a93dfd4eacf (diff)
downloademacs-pending.tar.gz
emacs-pending.zip
Merge from trunkpending
Diffstat (limited to 'src/s/gnu.h')
-rw-r--r--src/s/gnu.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/s/gnu.h b/src/s/gnu.h
index 8f6035b36a7..37aaa1357cc 100644
--- a/src/s/gnu.h
+++ b/src/s/gnu.h
@@ -1,6 +1,6 @@
1/* Definitions file for GNU Emacs running on the GNU Hurd. 1/* Definitions file for GNU Emacs running on the GNU Hurd.
2 2
3Copyright (C) 1994-1996, 2001-2011 Free Software Foundation, Inc. 3Copyright (C) 1994-1996, 2001-2012 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -37,10 +37,14 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
37 37
38#ifdef emacs 38#ifdef emacs
39#include <stdio.h> /* Get the definition of _IO_STDIO_H. */ 39#include <stdio.h> /* Get the definition of _IO_STDIO_H. */
40#if defined(_IO_STDIO_H) || defined(_STDIO_USES_IOSTREAM) 40#if defined (_IO_STDIO_H) || defined (_STDIO_USES_IOSTREAM)
41/* new C libio names */ 41/* new C libio names */
42#define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \ 42#define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \
43 ((FILE)->_IO_write_ptr - (FILE)->_IO_write_base) 43 ((FILE)->_IO_write_ptr - (FILE)->_IO_write_base)
44#endif /* !_IO_STDIO_H */ 44#endif /* !_IO_STDIO_H */
45#endif /* emacs */ 45#endif /* emacs */
46 46
47#define POSIX_SIGNALS 1
48
49/* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method for marking the stack. */
50#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS