summaryrefslogtreecommitdiffstats
path: root/contrib/libstdc++/complex
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libstdc++/complex')
-rw-r--r--contrib/libstdc++/complex18
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/libstdc++/complex b/contrib/libstdc++/complex
new file mode 100644
index 0000000..bfdd352
--- /dev/null
+++ b/contrib/libstdc++/complex
@@ -0,0 +1,18 @@
+// Main header for the -*- C++ -*- complex number classes.
+// This file is part of the GNU ANSI C++ Library.
+
+#ifndef __COMPLEX__
+#define __COMPLEX__
+
+#include <std/complext.h>
+
+extern "C++" {
+#define __STD_COMPLEX
+
+// ANSI complex types
+typedef complex<float> float_complex;
+typedef complex<double> double_complex;
+typedef complex<long double> long_double_complex;
+}
+
+#endif
OpenPOWER on IntegriCloud