You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
903 B
36 lines
903 B
Index: src/strlcat.c |
|
--- src/strlcat.c.orig 2018-05-25 19:50:45.000000000 +0200 |
|
+++ src/strlcat.c 2024-05-18 11:20:34.153578000 +0200 |
|
@@ -28,7 +28,7 @@ |
|
#include <string.h> |
|
|
|
#ifdef _LIBC |
|
-# ifdef __weak_alias |
|
+#if defined(__linux) && defined(__weak_alias) |
|
__weak_alias(strlcat, _strlcat) |
|
# endif |
|
#endif |
|
Index: src/unvis.c |
|
--- src/unvis.c.orig 2022-06-11 09:57:59.000000000 +0200 |
|
+++ src/unvis.c 2024-05-18 11:20:34.153704000 +0200 |
|
@@ -49,7 +49,7 @@ |
|
#include <errno.h> |
|
#include <vis.h> |
|
|
|
-#ifdef __weak_alias |
|
+#if defined(__linux) && defined(__weak_alias) |
|
__weak_alias(strnunvisx,_strnunvisx) |
|
#endif |
|
|
|
Index: src/vis.c |
|
--- src/vis.c.orig 2024-05-17 19:08:50.000000000 +0200 |
|
+++ src/vis.c 2024-05-18 11:20:34.153889000 +0200 |
|
@@ -75,7 +75,7 @@ |
|
#include <wchar.h> |
|
#include <wctype.h> |
|
|
|
-#ifdef __weak_alias |
|
+#if defined(__linux) && defined(__weak_alias) |
|
__weak_alias(strvisx,_strvisx) |
|
#endif |
|
|
|
|