mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-12 21:00:57 +00:00
17 lines
320 B
Diff
17 lines
320 B
Diff
https://github.com/termux/termux-packages/issues/15852
|
|
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -460,9 +460,10 @@
|
|
{
|
|
msg_checking "for function $1"
|
|
string_function_code="
|
|
+#include <stdint.h>
|
|
#include <string.h>
|
|
int main() {
|
|
- return $1;
|
|
+ return (int)(uintptr_t)$1;
|
|
}
|
|
"
|
|
if try_compile_link "$string_function_code"
|