Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5e5623c2
Commit
5e5623c2
authored
Dec 31, 1993
by
Richard M. Stallman
Browse files
(PENDING_OUTPUT_COUNT): Two alternate definitions
for different versions of stdio.h.
parent
c9cebcb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
src/s/gnu-linux.h
src/s/gnu-linux.h
+12
-1
No files found.
src/s/gnu-linux.h
View file @
5e5623c2
...
...
@@ -155,7 +155,18 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* This is needed for disknew.c:update_frame() */
#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_pptr - (FILE)->_pbase)
#ifdef emacs
#include <stdio.h>
#ifdef _IO_STDIO_H
/* new C libio names */
#define PENDING_OUTPUT_COUNT(FILE) \
((FILE)->_IO_write_ptr - (FILE)->_IO_write_base)
#else
/* !_IO_STDIO_H */
/* old C++ iostream names */
#define PENDING_OUTPUT_COUNT(FILE) \
((FILE)->_pptr - (FILE)->_pbase)
#endif
/* !_IO_STDIO_H */
#endif
/* emacs */
/* Linux has crt0.o in a non-standard place */
#define START_FILES pre-crt0.o /usr/lib/crt0.o
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment