Blob Blame History Raw
--- libstdc++33-v3/libmath/stubs.c.jj	2003-06-03 08:48:02.000000000 -0400
+++ libstdc++33-v3/libmath/stubs.c	2006-08-21 07:25:18.000000000 -0400
@@ -30,10 +30,25 @@
 #include <math.h>
 #include "config.h"
 
+#if defined __s390__ || defined __powerpc__
+#undef HAVE_ATAN2L
+#undef HAVE_COSHL
+#undef HAVE_COSL
+#undef HAVE_EXPL
+#undef HAVE_HYPOTL
+#undef HAVE_LOG10L
+#undef HAVE_LOGL
+#undef HAVE_POWL
+#undef HAVE_SINHL
+#undef HAVE_SINL
+#undef HAVE_SQRTL
+#undef HAVE_TANHL
+#undef HAVE_TANL
+#endif
+
 /* For targets which do not have support for long double versions,
    we use the crude approximation.  We'll do better later.  */
 
-
 #ifndef HAVE_ATAN2F
 float
 atan2f(float x, float y)