diff options
author | Glenn Morris <rgm@gnu.org> | 2012-07-10 00:37:17 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-07-10 00:37:17 -0700 |
commit | d02eb359e68a083fc55f0355b86df2a07b8d570d (patch) | |
tree | c0b4fc1ad9f9586bcfce873d3893c4bb9919d041 /configure.ac | |
parent | 882cf227ab70fc5cd7252781bd55febfbcad27d5 (diff) | |
download | emacs-d02eb359e68a083fc55f0355b86df2a07b8d570d.tar.gz |
Move PENDING_OUTPUT_COUNT from src/s to configure
* configure.ac (PENDING_OUTPUT_COUNT): Move here from src/s.
* src/s/cygwin.h, src/s/darwin.h, src/s/freebsd.h, src/s/netbsd.h:
* src/s/unixware.h: Move PENDING_OUTPUT_COUNT definition to configure.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 20b149f58e2..028706af8e5 100644 --- a/configure.ac +++ b/configure.ac @@ -3154,7 +3154,19 @@ AH_TEMPLATE(DATA_SEG_BITS, [Extra bits to be or'd in with any pointers stored in a Lisp_Object.]) dnl if Emacs uses fewer than 32 bits for the value field of a LISP_OBJECT. +dnl Used in dispnew.c +AH_TEMPLATE(PENDING_OUTPUT_COUNT, [Number of chars of output in the +buffer of a stdio stream.]) + case $opsys in + cygwin | darwin | freebsd | netbsd | openbsd ) + AC_DEFINE(PENDING_OUTPUT_COUNT(FILE), [((FILE)->_p - (FILE)->_bf._base)]) + ;; + + unixware) + AC_DEFINE(PENDING_OUTPUT_COUNT(FILE), [((FILE)->__ptr - (FILE)->__base)]) + ;; + gnu) dnl libc defines data_start. AC_DEFINE(DATA_START, [({ extern int data_start; (char *) &data_start; })]) |