OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* configure.ac: Check for trunc and truncf in libm.
[pf3gnuchains/gcc-fork.git]
/
libgfortran
/
c99_protos.h
diff --git
a/libgfortran/c99_protos.h
b/libgfortran/c99_protos.h
index
99d6172
..
521f205
100644
(file)
--- a/
libgfortran/c99_protos.h
+++ b/
libgfortran/c99_protos.h
@@
-113,6
+113,14
@@
extern float tanf(float);
extern float tanhf(float);
#endif
+#ifndef HAVE_TRUNC
+extern double trunc(double x);
+#endif
+
+#ifndef HAVE_TRUNCF
+extern float truncf(float x);
+#endif
+
#ifndef HAVE_NEXTAFTERF
extern float nextafterf(float, float);
#endif