From 0148e1ee90a9cec90cbd0b32b99cf532eaae9699 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 29 Aug 2002 18:05:15 +0000 Subject: natFileDescriptorPosix.cc (setLength): Handle case where ftruncate is missing. * java/io/natFileDescriptorPosix.cc (setLength): Handle case where ftruncate is missing. * configure, include/config.h.in: Rebuilt. * acconfig.h (HAVE_FTRUNCATE): Mention. * configure.in: Check for ftruncate. From-SVN: r56658 --- libjava/include/config.h.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libjava/include/config.h.in') diff --git a/libjava/include/config.h.in b/libjava/include/config.h.in index 266d6e3..f75f74f 100644 --- a/libjava/include/config.h.in +++ b/libjava/include/config.h.in @@ -132,6 +132,7 @@ #undef HAVE_READDIR_R #undef HAVE_GETHOSTBYNAME_R #undef HAVE_GETHOSTBYADDR_R +#undef HAVE_FTRUNCATE /* Define if you want a bytecode interpreter. */ #undef INTERPRETER @@ -201,6 +202,9 @@ /* Define if you have the ftime function. */ #undef HAVE_FTIME +/* Define if you have the ftruncate function. */ +#undef HAVE_FTRUNCATE + /* Define if you have the getcwd function. */ #undef HAVE_GETCWD -- cgit v1.1