aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/gnu-linux.h
diff options
context:
space:
mode:
authorGlenn Morris2012-07-10 23:52:48 -0700
committerGlenn Morris2012-07-10 23:52:48 -0700
commitc8add24e86d499000f0998558d635fffa1f3857c (patch)
tree4e66354f1cfce36f68f679c3b72dffbb73436852 /src/s/gnu-linux.h
parentb41253a389afdffde3d2551e4c165f0ebbafdf89 (diff)
downloademacs-c8add24e86d499000f0998558d635fffa1f3857c.tar.gz
emacs-c8add24e86d499000f0998558d635fffa1f3857c.zip
Move GNU_LIBRARY_PENDING_OUTPUT_COUNT from src/s to configure
* configure.ac (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Move here from src/s. * src/s/gnu.h, src/s/gnu-linux.h: Move GNU_LIBRARY_PENDING_OUTPUT_COUNT to configure.
Diffstat (limited to 'src/s/gnu-linux.h')
-rw-r--r--src/s/gnu-linux.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index 6f45ee00b78..9f8a994bb7e 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -92,25 +92,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
92 your system and must be used only through an encapsulation 92 your system and must be used only through an encapsulation
93 (Which you should place, by convention, in sysdep.c). */ 93 (Which you should place, by convention, in sysdep.c). */
94 94
95/* This is needed for dispnew.c:update_frame. */
96#ifdef emacs 95#ifdef emacs
97#include <stdio.h> /* Get the definition of _IO_STDIO_H. */
98#if defined (_IO_STDIO_H) || defined (_STDIO_USES_IOSTREAM)
99/* New C libio names. */
100#define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \
101 ((FILE)->_IO_write_ptr - (FILE)->_IO_write_base)
102#elif defined (__UCLIBC__)
103/* Using the uClibc library. */
104#define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \
105 ((FILE)->__bufpos - (FILE)->__bufstart)
106#else /* !_IO_STDIO_H && ! __UCLIBC__ */
107/* Old C++ iostream names. */
108#define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \
109 ((FILE)->_pptr - (FILE)->_pbase)
110#endif /* !_IO_STDIO_H && ! __UCLIBC__ */
111
112#define INTERRUPT_INPUT 96#define INTERRUPT_INPUT
113#endif /* emacs */ 97#endif
114 98
115#define POSIX /* affects getpagesize.h and systty.h */ 99#define POSIX /* affects getpagesize.h and systty.h */
116 100