summaryrefslogtreecommitdiff
path: root/libgfortran/libgfortran.h
diff options
context:
space:
mode:
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-25 21:39:58 +0000
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-25 21:39:58 +0000
commitd213114b2a5d70c391d65ba42095ca8c4b49c46c (patch)
tree03f679a4e6e5541f1f29cf7b38a296b55f8061f8 /libgfortran/libgfortran.h
parent0c39c16d21f7ff3867d5ae79cb413fc498aff866 (diff)
downloadgcc-d213114b2a5d70c391d65ba42095ca8c4b49c46c.tar.gz
* c99_protos.h: Add prototypes for C99 complex functions.
* libgfortran.h: Include complex.h before c99_protos.h. * intrinsics/c99_functions.c: Define HAVE_ macros for the fallback functions we provide. (cabsf, cabs, cabsl, cargf, carg, cargl, cexpf, cexp, cexpl, clogf, clog, clogl, clog10f, clog10, clog10l, cpowf, cpow, cpowl, cqsrtf, csqrt, csqrtl, csinhf, csinh, csinhl, ccoshf, ccosh, ccoshl, ctanhf, ctanh, ctanhl, csinf, csin, csinl, ccosf, ccos, ccosl, ctanf, ctan, ctanl): New fallback functions. * Makefile.am (gfor_math_trig_c, gfor_math_trig_obj, gfor_specific_c, gfor_cmath_src, gfor_cmath_obj): Remove. * Makefile.in: Regenerate. * configure.ac: Remove checks for csin. Add checks for all C99 complex functions. * config.h.in: Regenerate. * configure: Regenerate. * aclocal.m4: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104626 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r--libgfortran/libgfortran.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h
index 07f0614a0b3..54aca7e66bc 100644
--- a/libgfortran/libgfortran.h
+++ b/libgfortran/libgfortran.h
@@ -38,15 +38,15 @@ Boston, MA 02110-1301, USA. */
#define M_PI 3.14159265358979323846264338327
#endif
-#include "config.h"
-#include "c99_protos.h"
-
#if HAVE_COMPLEX_H
# include <complex.h>
#else
#define complex __complex__
#endif
+#include "config.h"
+#include "c99_protos.h"
+
#if HAVE_IEEEFP_H
#include <ieeefp.h>
#endif