vcpkg/ports/libyaml/fix-POSIX_name.patch
2019-07-18 00:07:09 -07:00

14 lines
296 B
Diff

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);
}
/*