c99_protos.h: Correctly protect definitions of prototypes for asinhf...
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>
Sun, 8 Oct 2006 17:16:38 +0000 (19:16 +0200)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 8 Oct 2006 17:16:38 +0000 (17:16 +0000)
* c99_protos.h: Correctly protect definitions of prototypes for
asinhf, acoshf and atanhf to be the same as in intrinsics/hyper.c.

From-SVN: r117559

libgfortran/ChangeLog
libgfortran/c99_protos.h

index 42b35f4ed3f0b7b9290af61c4154d9c1f61acdeb..6825bc3257621152f17d0cf60ec8c3a696405e42 100644 (file)
@@ -1,3 +1,8 @@
+2006-10-08  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       * c99_protos.h: Correctly protect definitions of prototypes for
+       asinhf, acoshf and atanhf to be the same as in intrinsics/hyper.c.
+
 2006-10-08  Paul Thomas  <pault@gcc.gnu.org>
            Erik Edelmann  <edelmann@gcc.gnu.org>
 
index 96f99150666d6410b5c48f4d35d23cee3ec9f64c..b7c992c2480f8a67ebdcd25942a6ea0ad59ea514 100644 (file)
@@ -1,5 +1,5 @@
 /* Declarations of various C99 functions 
-   Copyright (C) 2004 Free Software Foundation, Inc.
+   Copyright (C) 2004, 2006 Free Software Foundation, Inc.
 
 This file is part of the GNU Fortran 95 runtime library (libgfortran).
 
@@ -35,7 +35,7 @@ Boston, MA 02110-1301, USA.  */
 extern float acosf(float);
 #endif
 
-#ifndef HAVE_ACOSHF
+#if HAVE_ACOSH && !HAVE_ACOSHF
 #define HAVE_ACOSHF 1
 extern float acoshf(float);
 #endif
@@ -45,7 +45,7 @@ extern float acoshf(float);
 extern float asinf(float);
 #endif
 
-#ifndef HAVE_ASINHF
+#if HAVE_ASINH && !HAVE_ASINHF
 #define HAVE_ASINHF 1
 extern float asinhf(float);
 #endif
@@ -60,7 +60,7 @@ extern float atan2f(float, float);
 extern float atanf(float);
 #endif
 
-#ifndef HAVE_ATANHF
+#if HAVE_ATANH && !HAVE_ATANHF
 #define HAVE_ATANHF 1
 extern float atanhf(float);
 #endif