mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-04 18:45:52 +00:00
23 lines
466 B
Diff
23 lines
466 B
Diff
diff -uNr a/flang/runtime/complex-reduction.c b/flang/runtime/complex-reduction.c
|
|
--- a/flang/runtime/complex-reduction.c
|
|
+++ b/flang/runtime/complex-reduction.c
|
|
@@ -10,6 +10,18 @@
|
|
#include "complex-reduction.h"
|
|
#include <float.h>
|
|
|
|
+#ifdef __ANDROID__
|
|
+#ifdef CMPLXF
|
|
+#undef CMPLXF
|
|
+#endif // CMPLXF
|
|
+#ifdef CMPLX
|
|
+#undef CMPLX
|
|
+#endif // CMPLX
|
|
+#ifdef CMPLXL
|
|
+#undef CMPLXL
|
|
+#endif // CMPLXL
|
|
+#endif // __ANDROID__
|
|
+
|
|
struct CppComplexFloat {
|
|
float r, i;
|
|
};
|