aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/src/complexl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/src/complexl.cc')
-rw-r--r--libstdc++-v3/src/complexl.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/libstdc++-v3/src/complexl.cc b/libstdc++-v3/src/complexl.cc
new file mode 100644
index 0000000..4c11abd
--- /dev/null
+++ b/libstdc++-v3/src/complexl.cc
@@ -0,0 +1,8 @@
+#include <bits/c++config.h>
+#ifdef _GLIBCPP_HAVE_SINL
+/* We compile these functions only when we have the long double functions
+ available. */
+#define FLT long double
+#define FCT(name) ::name##l
+#include "complex.cc"
+#endif