0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-08-19 00:54:41 +00:00
Files
termux-packages/packages/smalltalk/isinfl.patch
Tee KOBAYASHI fd85078d98 smalltalk: Fix build
%ci:no-build
2023-04-27 12:15:19 +09:00

17 lines
344 B
Diff

https://github.com/termux/termux-packages/issues/15852
--- a/snprintfv/snprintfv/format.c
+++ b/snprintfv/snprintfv/format.c
@@ -40,6 +40,11 @@
#include <math.h>
#include <stddef.h>
+#ifdef __ANDROID__
+#define isinfl(x) __builtin_isinf(x)
+#define isnanl(x) __builtin_isnan(x)
+#endif
+
#ifdef HAVE_WCHAR_H
# include <wchar.h>
#endif