diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2005-05-21 08:44:50 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2005-05-21 06:44:50 +0000 |
commit | 69a2d125d6071769f9ae2b98d35b0e2c4674d935 (patch) | |
tree | e0800c58d9a0cf8ee2e6fb295ce7e5093a94bfd1 /libgfortran/c99_protos.h | |
parent | 542b52ddb28497f5888a56fbf240cb40c7146714 (diff) | |
download | gcc-69a2d125d6071769f9ae2b98d35b0e2c4674d935.zip gcc-69a2d125d6071769f9ae2b98d35b0e2c4674d935.tar.gz gcc-69a2d125d6071769f9ae2b98d35b0e2c4674d935.tar.bz2 |
configure.ac: Check for trunc and truncf in libm.
* configure.ac: Check for trunc and truncf in libm.
* configure: Regenerate.
* config.h.in: Likewise.
* intrinsics/c99_functions.c (trunc, truncf): New functions.
* c99_protos.h (trunc, truncf): Declare them.
From-SVN: r100040
Diffstat (limited to 'libgfortran/c99_protos.h')
-rw-r--r-- | libgfortran/c99_protos.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libgfortran/c99_protos.h b/libgfortran/c99_protos.h index 99d6172..521f205 100644 --- a/libgfortran/c99_protos.h +++ b/libgfortran/c99_protos.h @@ -113,6 +113,14 @@ extern float tanf(float); extern float tanhf(float); #endif +#ifndef HAVE_TRUNC +extern double trunc(double x); +#endif + +#ifndef HAVE_TRUNCF +extern float truncf(float x); +#endif + #ifndef HAVE_NEXTAFTERF extern float nextafterf(float, float); #endif |