0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-11 10:55:36 +00:00
Files
termux-packages/packages/vtm/0001-fmod.patch
2025-03-01 04:22:01 +08:00

12 lines
520 B
Diff

--- a/src/netxs/desktopio/events.hpp
+++ b/src/netxs/desktopio/events.hpp
@@ -16,7 +16,7 @@
#include <condition_variable>
//todo Workaround for i386 linux targets, https://sourceware.org/bugzilla/show_bug.cgi?id=31775
-#if defined(__i386__) && defined(__linux__)
+#if defined(__i386__) && defined(__linux__) && !defined(__ANDROID__)
extern long double fmodl(long double a, long double b);
double fmod(double a, double b) { return fmodl(a, b); }
float fmod(float a, float b) { return fmodl(a, b); }