aboutsummaryrefslogtreecommitdiff
path: root/gcc/gansidecl.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-09-15 13:53:46 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-09-15 13:53:46 +0000
commit04cabffc4ef605e2868dba5f19ad387f18aa72b4 (patch)
tree791babe4f9717ac17238ae99a9868e7212095d27 /gcc/gansidecl.h
parent0d1416c6a2d657fe2536cb64d9a2e0d77405828d (diff)
downloadgcc-04cabffc4ef605e2868dba5f19ad387f18aa72b4.zip
gcc-04cabffc4ef605e2868dba5f19ad387f18aa72b4.tar.gz
gcc-04cabffc4ef605e2868dba5f19ad387f18aa72b4.tar.bz2
aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
* aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro. * configure.in (AC_GCC_C_LONG_DOUBLE): Call it. * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2. * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double. From-SVN: r29432
Diffstat (limited to 'gcc/gansidecl.h')
-rw-r--r--gcc/gansidecl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/gansidecl.h b/gcc/gansidecl.h
index e864f2f..d003d2c 100644
--- a/gcc/gansidecl.h
+++ b/gcc/gansidecl.h
@@ -45,6 +45,9 @@ Boston, MA 02111-1307, USA. */
# undef const
# undef inline
# define inline __inline__ /* Modern gcc can use `__inline__' freely. */
+# ifndef HAVE_LONG_DOUBLE
+# define HAVE_LONG_DOUBLE 1
+# endif
#endif /* GCC >= 2.7 */
#ifndef NULL_PTR