aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/generated/exponent_r4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/exponent_r4.c')
-rw-r--r--libgfortran/generated/exponent_r4.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libgfortran/generated/exponent_r4.c b/libgfortran/generated/exponent_r4.c
index 3d0ffb3..9a9c7eb 100644
--- a/libgfortran/generated/exponent_r4.c
+++ b/libgfortran/generated/exponent_r4.c
@@ -27,10 +27,14 @@ You should have received a copy of the GNU General Public
License along with libgfortran; see the file COPYING. If not,
write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
+
+#include "config.h"
#include <math.h>
#include "libgfortran.h"
+#if defined (HAVE_GFC_REAL_4) && defined (HAVE_FREXPF)
+
extern GFC_INTEGER_4 exponent_r4 (GFC_REAL_4 s);
export_proto(exponent_r4);
@@ -41,3 +45,5 @@ exponent_r4 (GFC_REAL_4 s)
frexpf (s, &ret);
return ret;
}
+
+#endif