mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-30 07:30:17 +00:00
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
--- a/GraphBLAS/Config/GraphBLAS.h.in
|
|
+++ b/GraphBLAS/Config/GraphBLAS.h.in
|
|
@@ -169,6 +169,12 @@
|
|
#define GxB_CMPLXF(r,i) \
|
|
((GxB_FC32_t)((float)(r)) + (GxB_FC32_t)((float)(i) * _Complex_I))
|
|
#endif
|
|
+ #if defined(__ANDROID__) && __ANDROID_API__ < 26
|
|
+ double complex clog(double complex);
|
|
+ float complex clogf(float complex);
|
|
+ double complex cpow(double complex, double complex);
|
|
+ float complex cpowf(float complex, float complex);
|
|
+ #endif
|
|
#endif
|
|
#endif
|
|
|
|
--- a/GraphBLAS/Source/Shared/GxB_complex.h
|
|
+++ b/GraphBLAS/Source/Shared/GxB_complex.h
|
|
@@ -48,6 +48,12 @@
|
|
#define GxB_CMPLXF(r,i) \
|
|
((GxB_FC32_t)((float)(r)) + (GxB_FC32_t)((float)(i) * _Complex_I))
|
|
#endif
|
|
+ #if defined(__ANDROID__) && __ANDROID_API__ < 26
|
|
+ double complex clog(double complex);
|
|
+ float complex clogf(float complex);
|
|
+ double complex cpow(double complex, double complex);
|
|
+ float complex cpowf(float complex, float complex);
|
|
+ #endif
|
|
#endif
|
|
#endif
|
|
|