mirror of https://github.com/libAthena/athena.git
Corrected a windows-specific API warning
This commit is contained in:
parent
bca146dbfc
commit
4a4962424d
|
@ -63,7 +63,11 @@ yaml_strdup(const yaml_char_t *str)
|
||||||
if (!str)
|
if (!str)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
#if _WIN32
|
||||||
|
return (yaml_char_t *)_strdup((char *)str);
|
||||||
|
#else
|
||||||
return (yaml_char_t *)strdup((char *)str);
|
return (yaml_char_t *)strdup((char *)str);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue