getdtablesize: Support for MSVC 9.
authorBruno Haible <bruno@clisp.org>
Fri, 23 Sep 2011 23:48:27 +0000 (01:48 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 23 Sep 2011 23:48:27 +0000 (01:48 +0200)
commit4040b3bddb086e8230b0d9356297e971729a9c44
tree05e1c87740f00e3cb2c5f43dad3338e7f11defe2
parent175142a8e0d3446ddb0c9709d00c5f377b4bf475
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.
ChangeLog
lib/getdtablesize.c
m4/getdtablesize.m4
modules/getdtablesize