aboutsummaryrefslogtreecommitdiff
path: root/libjava/include
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2002-08-29 18:05:15 +0000
committerTom Tromey <tromey@gcc.gnu.org>2002-08-29 18:05:15 +0000
commit0148e1ee90a9cec90cbd0b32b99cf532eaae9699 (patch)
treea31a718cf9037c5c8f783d5e793792805d6ed4b0 /libjava/include
parent3308c46e47a0b17d37b4c29a130e6519c424a737 (diff)
downloadgcc-0148e1ee90a9cec90cbd0b32b99cf532eaae9699.zip
gcc-0148e1ee90a9cec90cbd0b32b99cf532eaae9699.tar.gz
gcc-0148e1ee90a9cec90cbd0b32b99cf532eaae9699.tar.bz2
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
Diffstat (limited to 'libjava/include')
-rw-r--r--libjava/include/config.h.in4
1 files changed, 4 insertions, 0 deletions
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