summaryrefslogtreecommitdiff
path: root/libstdc++-v3/config.h.in
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-15 08:06:35 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-15 08:06:35 +0000
commit9b15111cffd15236d70546f296b2e9b0efe4953c (patch)
treea5b34ca6b5f3cae8764d0aeaf4a20d6f55e91277 /libstdc++-v3/config.h.in
parente5a82780fe5fdfdaf5bcaaeb86edc0804bd8906a (diff)
downloadgcc-9b15111cffd15236d70546f296b2e9b0efe4953c.tar.gz
2002-11-15 Paolo Carlini <pcarlini@unitus.it>
Loren J. Rittle <ljrittle@acm.org> PR libstdc++/8399 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): New macro to check for unistd.h functions. (GLIBCPP_CHECK_UNISTD_SUPPORT): New macro, check for isatty in unistd.h. * configure.in: Call here. * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Use _GLIBCPP_HAVE_ISATTY: ifdef, in case of interactive input __in_size = 1 even when sync_with_stdio is false; otherwise fall back to __in_size = 1. * aclocal.m4: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59118 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/config.h.in')
-rw-r--r--libstdc++-v3/config.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++-v3/config.h.in b/libstdc++-v3/config.h.in
index aab9b244101..c3bc4b989fe 100644
--- a/libstdc++-v3/config.h.in
+++ b/libstdc++-v3/config.h.in
@@ -3,6 +3,9 @@
/* Define if you have a working `mmap' system call. */
#undef HAVE_MMAP
+/* Define if you need to in order for stat and other things to work. */
+#undef _POSIX_SOURCE
+
// Define if GCC supports weak symbols.
#undef _GLIBCPP_SUPPORTS_WEAK
@@ -461,6 +464,9 @@
/* Define if you have the iconv_open function. */
#undef HAVE_ICONV_OPEN
+/* Define if you have the isatty function. */
+#undef HAVE_ISATTY
+
/* Define if you have the isinf function. */
#undef HAVE_ISINF