nonblocking: Avoid compilation error on mingw64.
authorBruno Haible <bruno@clisp.org>
Thu, 21 Jun 2012 10:39:37 +0000 (12:39 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 21 Jun 2012 10:39:37 +0000 (12:39 +0200)
commita02ba4bf889fee4622db87f185c3d0af84d74ae7
treeed77336bc33652b2bd25906885aba67a2e2412c6
parentc6599399ec36c941bbd2c504f1aebf2b45816ace
nonblocking: Avoid compilation error on mingw64.

* m4/stdio_h.m4 (gl_STDIO_H): Invoke gl_MODULE_INDICATOR for scanf,
fscanf.
* modules/vscanf (configure.ac): Invoke gl_MODULE_INDICATOR.
* modules/vfscanf (configure.ac): Likewise.
* lib/stdio-read.c (scanf, fscanf, vscanf, vfscanf): Enable function
definition only if stdio.h has prepared it.
Reported by Daniel P. Berrange <berrange@redhat.com>.
ChangeLog
lib/stdio-read.c
m4/stdio_h.m4
modules/vfscanf
modules/vscanf