aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/gnu.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.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.h')
-rw-r--r--src/s/gnu.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/s/gnu.h b/src/s/gnu.h
index bac233266c8..9ec75081ca1 100644
--- a/src/s/gnu.h
+++ b/src/s/gnu.h
@@ -20,13 +20,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21/* Get most of the stuff from bsd-common */ 21/* Get most of the stuff from bsd-common */
22#include "bsd-common.h" 22#include "bsd-common.h"
23
24/* It would be harmless to drop the ifdef emacs test. */
25#ifdef emacs
26#include <stdio.h> /* Get the definition of _IO_STDIO_H. */
27#if defined (_IO_STDIO_H) || defined (_STDIO_USES_IOSTREAM)
28/* new C libio names */
29#define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \
30 ((FILE)->_IO_write_ptr - (FILE)->_IO_write_base)
31#endif /* !_IO_STDIO_H */
32#endif /* emacs */