yuzu/externals/vcpkg/ports/libyaml/fix-POSIX_name.patch

14 lines
296 B
Diff
Raw Normal View History

2022-07-23 05:01:36 +04:00
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);
}
/*