Mercurial > hg > octave-kai > gnulib-hg
view lib/fpending.h @ 17469: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 | e542fd46ad6f |
children |
line wrap: on
line source
/* Declare __fpending. Copyright (C) 2000, 2003, 2005-2006, 2009-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. Written by Jim Meyering. */ #include <stddef.h> #include <stdio.h> #if HAVE_STDIO_EXT_H # include <stdio_ext.h> #endif #ifndef __fpending size_t __fpending (FILE *); #endif