view modules/fpending @ 17458:3efb2780c5ae

fpending: port to recent Cygwin change to stdio_ext.h Reported by LRN in <http://lists.gnu.org/archive/html/bug-gnulib/2013-08/msg00028.html>. * lib/fpending.h: Don't worry about HAVE_DECL___FPENDING; just declare __fpending unless it's a macro. A duplicate decl shouldn't hurt. * m4/fpending.m4 (gl_FUNC_FPENDING): Check that an __fpending call compiles and links, instead of separately checking for decl and lib function. * modules/fpending (configure-ac): Adjust to fpending.m4's renaming of shell variable.
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 11 Aug 2013 16:36:16 -0700
parents 6e62e423a53b
children e09edeb6b15d
line wrap: on
line source

Description:
Determine the number of bytes waiting in the output buffer of a stream.

Files:
lib/fpending.h
lib/fpending.c
m4/fpending.m4

Depends-on:

configure.ac:
gl_FUNC_FPENDING
if test $gl_cv_func___fpending = no; then
  AC_LIBOBJ([fpending])
  gl_PREREQ_FPENDING
fi

Makefile.am:

Include:
"fpending.h"

License:
GPL

Maintainer:
Jim Meyering