diff options
author | Francois-Xavier Coudert <coudert@clipper.ens.fr> | 2006-12-06 22:49:55 +0100 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2006-12-06 21:49:55 +0000 |
commit | eb647f7d99c589f55a643403e7ab0e3cf5e78867 (patch) | |
tree | 0a0aa053c7b5edceafd1800778f20b7eb32a9f8a /libgfortran/c99_protos.h | |
parent | b4c811bd14e0b3ea5a995b711aae60ee1d3daaab (diff) | |
download | gcc-eb647f7d99c589f55a643403e7ab0e3cf5e78867.tar.gz |
re PR libfortran/29810 (Unsatisfied symbol "fmodl" in libgfortran shared library)
PR libfortran/29810
* intrinsics/c99_functions.c (fmodf, fmodl, floorl): New functions.
* c99_protos.h (fmodf, fmodl, floorl): New prototypes.
* configure.ac: Check for fmodf, fmod and fmodl.
* configure: Regenerate.
* config.h.in: Regenerate.
From-SVN: r119599
Diffstat (limited to 'libgfortran/c99_protos.h')
-rw-r--r-- | libgfortran/c99_protos.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libgfortran/c99_protos.h b/libgfortran/c99_protos.h index 26c0aa2b547..369299dc77d 100644 --- a/libgfortran/c99_protos.h +++ b/libgfortran/c99_protos.h @@ -100,6 +100,21 @@ extern float fabsf(float); extern float floorf(float); #endif +#ifndef HAVE_FLOORL +#define HAVE_FLOORL 1 +extern long double floorl (long double x); +#endif + +#ifndef HAVE_FMODF +#define HAVE_FMODF 1 +extern float fmodf (float x, float y); +#endif + +#ifndef HAVE_FMODL +#define HAVE_FMODL 1 +extern long double fmodl (long double x, long double y); +#endif + #ifndef HAVE_FREXPF #define HAVE_FREXPF 1 extern float frexpf(float, int *); |