summaryrefslogtreecommitdiff
path: root/libstdc++-v3/acconfig.h
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-22 15:51:55 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-22 15:51:55 +0000
commit440c107f2892c8e36b8667a30623c34c77a8f2c4 (patch)
treeb26e41a70bfc32ae8a5ebbdb7c88efd4978dbb10 /libstdc++-v3/acconfig.h
parenta34619204046baf47d25e0333d0a79aeb0a1a3cd (diff)
downloadgcc-440c107f2892c8e36b8667a30623c34c77a8f2c4.tar.gz
2003-10-22 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/8610 * acinclude.m4 (GLIBCXX_CHECK_INT64_T): New macro, checking for the availability of int64_t. (GLIBCXX_CHECK_LFS): New macro, checking for LFS support. * configure.ac: Call here. * acconfig.h: Add undef for the corresponding symbols. * config/io/basic_file_stdio.cc (__basic_file<char>::open): Depending on _GLIBCXX_USE_LFS, call fopen64 or fopen. (__basic_file<char>::seekoff): Likewise, call lseek64 when available, otherwise lseek, checking the __off parameter. * include/bits/postypes.h: Typedef __streamoff_base_type to int64_t if available, otherwise long long. * aclocal.m4: Regenerate. * config.h.in: Likewise. * configure: Likewise. * acinclude.m4 (GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_WRITEV): Use AC_TRY_LINK instead of AC_TRY_COMPILE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72806 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/acconfig.h')
-rw-r--r--libstdc++-v3/acconfig.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++-v3/acconfig.h b/libstdc++-v3/acconfig.h
index 87022c3a740..df110cd073f 100644
--- a/libstdc++-v3/acconfig.h
+++ b/libstdc++-v3/acconfig.h
@@ -153,6 +153,12 @@
// Define if writev is available in <sys/uio.h>.
#undef HAVE_WRITEV
+// Define if int64_t is available in <stdint.h>.
+#undef HAVE_INT64_T
+
+// Define if LFS support is available.
+#undef _GLIBCXX_USE_LFS
+
// Define if LC_MESSAGES is available in <locale.h>.
#undef HAVE_LC_MESSAGES