diff options
author | Bruno Haible <bruno@clisp.org> | 2011-09-25 14:10:58 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-09-25 14:10:58 +0200 |
commit | 5d91e956e6cca4176be51f9591ac00a189b7df00 (patch) | |
tree | 0ee049770af20ee605888e9c8808e63e39d618c4 /modules/ftruncate | |
parent | cd76a061a80d91823660fc999727c6ec5f4a067b (diff) | |
download | gnulib-5d91e956e6cca4176be51f9591ac00a189b7df00.tar.gz |
ftruncate: Support for MSVC 9.
* lib/ftruncate.c: Include errno.h, msvc-inval.h.
(chsize_nothrow): New function.
(chsize): Redefine as a macro.
* m4/ftruncate.m4 (gl_PREREQ_FTRUNCATE): Require AC_C_INLINE.
* modules/ftruncate (Depends-on): Add msvc-inval.
Diffstat (limited to 'modules/ftruncate')
-rw-r--r-- | modules/ftruncate | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/ftruncate b/modules/ftruncate index 3bea20be3b..097ed9c770 100644 --- a/modules/ftruncate +++ b/modules/ftruncate @@ -8,6 +8,7 @@ m4/ftruncate.m4 Depends-on: unistd largefile +msvc-inval [test $HAVE_FTRUNCATE = 0] configure.ac: gl_FUNC_FTRUNCATE |