summaryrefslogtreecommitdiff
path: root/modules/getdtablesize
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-09-24 01:48:27 +0200
committerBruno Haible <bruno@clisp.org>2011-09-24 01:48:27 +0200
commit4040b3bddb086e8230b0d9356297e971729a9c44 (patch)
tree05e1c87740f00e3cb2c5f43dad3338e7f11defe2 /modules/getdtablesize
parent175142a8e0d3446ddb0c9709d00c5f377b4bf475 (diff)
downloadgnulib-4040b3bddb086e8230b0d9356297e971729a9c44.tar.gz
getdtablesize: Support for MSVC 9.
* lib/getdtablesize.c: Include msvc-inval.h. (_setmaxstdio_nothrow): New function. (_setmaxstdio): Redefine it. * m4/getdtablesize.m4 (gl_PREREQ_GETDTABLESIZE): New macro. * modules/getdtablesize (Depends-on): Add msvc-inval. (configure.ac): Invoke gl_PREREQ_GETDTABLESIZE.
Diffstat (limited to 'modules/getdtablesize')
-rw-r--r--modules/getdtablesize2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/getdtablesize b/modules/getdtablesize
index 3b195c0c85..109be1fda1 100644
--- a/modules/getdtablesize
+++ b/modules/getdtablesize
@@ -7,11 +7,13 @@ m4/getdtablesize.m4
Depends-on:
unistd
+msvc-inval [test $HAVE_GETDTABLESIZE = 0]
configure.ac:
gl_FUNC_GETDTABLESIZE
if test $HAVE_GETDTABLESIZE = 0; then
AC_LIBOBJ([getdtablesize])
+ gl_PREREQ_GETDTABLESIZE
fi
gl_UNISTD_MODULE_INDICATOR([getdtablesize])