diff options
Diffstat (limited to 'libgfortran/generated/nearest_r4.c')
-rw-r--r-- | libgfortran/generated/nearest_r4.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libgfortran/generated/nearest_r4.c b/libgfortran/generated/nearest_r4.c index 265b649..02fd6aa 100644 --- a/libgfortran/generated/nearest_r4.c +++ b/libgfortran/generated/nearest_r4.c @@ -27,11 +27,15 @@ 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 <float.h> #include "libgfortran.h" +#if defined (HAVE_GFC_REAL_4) && defined (HAVE_COPYSIGNF) && defined (HAVE_NEXTAFTERF) + extern GFC_REAL_4 nearest_r4 (GFC_REAL_4 s, GFC_REAL_4 dir); export_proto(nearest_r4); @@ -48,3 +52,5 @@ nearest_r4 (GFC_REAL_4 s, GFC_REAL_4 dir) else return nextafterf (s, dir); } + +#endif |