From 382c7ba6cd64a3fe6c2a671319f04eb04f6a775d Mon Sep 17 00:00:00 2001 From: bkoz Date: Tue, 1 Feb 2005 06:56:30 +0000 Subject: 2005-01-31 Brad Spencer * crossconfig.m4: Repair Solaris cross bits for strtold and strtof. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94526 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/crossconfig.m4 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'libstdc++-v3/crossconfig.m4') diff --git a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4 index 83a29b47007..8ee7a7b1ee0 100644 --- a/libstdc++-v3/crossconfig.m4 +++ b/libstdc++-v3/crossconfig.m4 @@ -414,8 +414,13 @@ case "${host}" in AC_DEFINE(HAVE___BUILTIN_SINF) ;; esac - AC_DEFINE(HAVE_STRTOF) - AC_DEFINE(HAVE_STRTOLD) + case "$target" in + *-*-solaris2.10) + # These two C99 functions are present only in Solaris >= 10 + AC_DEFINE(HAVE_STRTOF) + AC_DEFINE(HAVE_STRTOLD) + ;; + esac AC_DEFINE(HAVE_MMAP) AC_DEFINE(HAVE_COPYSIGN) AC_DEFINE(HAVE_ISNAN) -- cgit v1.2.1