pineapple-src/externals/vcpkg/ports/libyaml/fix-POSIX_name.patch
2022-07-23 03:01:36 +02:00

14 lines
296 B
Diff
Executable File

diff --git a/src/api.c b/src/api.c
index e793b08..6f16fc5 100644
--- a/src/api.c
+++ b/src/api.c
@@ -63,7 +63,7 @@ yaml_strdup(const yaml_char_t *str)
if (!str)
return NULL;
- return (yaml_char_t *)strdup((char *)str);
+ return (yaml_char_t *)_strdup((char *)str);
}
/*