0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-11 13:09:18 +00:00
termux-packages/x11-packages/mogan/s7.diff
Jia Yuan Lo 6eadd17b1b bump(x11/mogan): 1.2.5.1
Enable auto update
2024-04-05 21:28:18 +08:00

17 lines
433 B
Diff

--- a/s7.c
+++ b/s7.c
@@ -404,6 +404,13 @@
#endif
#endif
+ #ifndef clog
+ double complex clog(double complex);
+ #endif
+ #ifndef cpow
+ double complex cpow(double complex, double complex);
+ #endif
+
#ifndef CMPLX
#if (!(defined(__cplusplus))) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && !defined(__INTEL_COMPILER)
#define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))