]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgfortran/generated/fraction_r4.c
mtype.m4 (upcase, [...]): New macros.
[thirdparty/gcc.git] / libgfortran / generated / fraction_r4.c
index f2ea9e27918ae140a35b3beba00727833e4e66ff..a42e1468f516d34b47757218aec5586de44b65d7 100644 (file)
@@ -26,6 +26,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #include "libgfortran.h"
 
 
+
+#define MATHFUNC(funcname) funcname ## f
+
 #if defined (HAVE_GFC_REAL_4) && defined (HAVE_FREXPF)
 
 extern GFC_REAL_4 fraction_r4 (GFC_REAL_4 s);
@@ -35,7 +38,7 @@ GFC_REAL_4
 fraction_r4 (GFC_REAL_4 s)
 {
   int dummy_exp;
-  return frexpf (s, &dummy_exp);
+  return MATHFUNC(frexp) (s, &dummy_exp);
 }
 
 #endif