summaryrefslogtreecommitdiff
path: root/modules/fclose
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-09-25 12:10:10 +0200
committerBruno Haible <bruno@clisp.org>2011-09-25 12:10:10 +0200
commitfd860ad1280680d2fb0dcf795579767e28a91d06 (patch)
treed6fe3b379d5d34896c1c94808804c11796a447fb /modules/fclose
parent936cef69b1e34a2f654de30577cce8bf6db461b5 (diff)
downloadgnulib-fd860ad1280680d2fb0dcf795579767e28a91d06.tar.gz
fclose: Support for MSVC 9.
* lib/fclose.c: Include msvc-inval.h. (fclose_nothrow): New function. (rpl_fclose): Use it. * modules/fclose (Depends-on): Add msvc-inval. * doc/posix-functions/fclose.texi: Mention the problem on MSVC.
Diffstat (limited to 'modules/fclose')
-rw-r--r--modules/fclose1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/fclose b/modules/fclose
index 85f63fe448..3ceba909d1 100644
--- a/modules/fclose
+++ b/modules/fclose
@@ -11,6 +11,7 @@ close [test $REPLACE_FCLOSE = 1]
fflush [test $REPLACE_FCLOSE = 1]
freading [test $REPLACE_FCLOSE = 1]
lseek [test $REPLACE_FCLOSE = 1]
+msvc-inval [test $REPLACE_FCLOSE = 1]
configure.ac:
gl_FUNC_FCLOSE