summaryrefslogtreecommitdiff
path: root/libgfortran/c99_protos.h
diff options
context:
space:
mode:
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-08 17:16:38 +0000
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-08 17:16:38 +0000
commit5470a5951bb5b323c257fb4ba8e7a5a1192f0c75 (patch)
tree53540bc7cf63c5db7b364159b8c9caec84ebb0e1 /libgfortran/c99_protos.h
parent2294b6167ad8c2adbd54cdf0b69fe5a33809e129 (diff)
downloadgcc-5470a5951bb5b323c257fb4ba8e7a5a1192f0c75.tar.gz
* c99_protos.h: Correctly protect definitions of prototypes for
asinhf, acoshf and atanhf to be the same as in intrinsics/hyper.c. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117559 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/c99_protos.h')
-rw-r--r--libgfortran/c99_protos.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libgfortran/c99_protos.h b/libgfortran/c99_protos.h
index 96f99150666..b7c992c2480 100644
--- a/libgfortran/c99_protos.h
+++ b/libgfortran/c99_protos.h
@@ -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