aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/src/complexf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/src/complexf.cc')
-rw-r--r--libstdc++-v3/src/complexf.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/libstdc++-v3/src/complexf.cc b/libstdc++-v3/src/complexf.cc
new file mode 100644
index 0000000..5ef12af
--- /dev/null
+++ b/libstdc++-v3/src/complexf.cc
@@ -0,0 +1,5 @@
+#define FLT float
+#define FCT(name) ::name##f
+// Used in complex.cc to work around GCC's buggy __complex__ float support.
+#define _GLIBCPP_FLOAT_SPECIALIZATION 1
+#include "complex.cc"