updated build system
This commit is contained in:
parent
b35041f1f3
commit
b26b52fd2d
2
support/3rd_party/src/utils/path.cpp
vendored
2
support/3rd_party/src/utils/path.cpp
vendored
@ -72,7 +72,7 @@ auto absolute(std::string_view path) -> std::string {
|
|||||||
if (not abs_path.empty() && ::PathIsRelative(abs_path.c_str())) {
|
if (not abs_path.empty() && ::PathIsRelative(abs_path.c_str())) {
|
||||||
std::string temp;
|
std::string temp;
|
||||||
temp.resize(MAX_PATH + 1);
|
temp.resize(MAX_PATH + 1);
|
||||||
abs_path = _fullpath(temp.data(), abs_path.data(), MAX_PATH);
|
abs_path = _fullpath(temp.data(), abs_path.c_str(), MAX_PATH);
|
||||||
}
|
}
|
||||||
#else // !defined(_WIN32)
|
#else // !defined(_WIN32)
|
||||||
abs_path = resolve(finalize(abs_path));
|
abs_path = resolve(finalize(abs_path));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user