summaryrefslogtreecommitdiff
path: root/libgfortran/intrinsics/erfc_scaled.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/intrinsics/erfc_scaled.c')
-rw-r--r--libgfortran/intrinsics/erfc_scaled.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgfortran/intrinsics/erfc_scaled.c b/libgfortran/intrinsics/erfc_scaled.c
index 0498508a5bb..02a2c15ace3 100644
--- a/libgfortran/intrinsics/erfc_scaled.c
+++ b/libgfortran/intrinsics/erfc_scaled.c
@@ -61,6 +61,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#else
# define _THRESH -106.566990228185312813205074546585730L
+# ifndef M_2_SQRTPIl
+# define M_2_SQRTPIl 1.128379167095512573896158903121545172L
+# endif
# define _M_2_SQRTPI M_2_SQRTPIl
# define _INF __builtin_infl()
# ifdef HAVE_ERFCL