diff options
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 99d61725cbf..521f205399a 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 |