aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/gnu-linux.h
diff options
context:
space:
mode:
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