mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 21:53:41 +00:00
Windows: use _fullpath() instead of fullpath().
Fix compilation error
This commit is contained in:
parent
714470e618
commit
de87cdc717
2 changed files with 2 additions and 2 deletions
|
@ -279,7 +279,7 @@ private:
|
|||
{
|
||||
//real path
|
||||
#ifdef _WIN32
|
||||
path = fullpath(full, path, PATH_MAX);
|
||||
path = _fullpath(full, path, PATH_MAX);
|
||||
#else
|
||||
path = realpath(path, full);
|
||||
#endif
|
||||
|
|
|
@ -70,7 +70,7 @@ char* getpath(const char* input)
|
|||
{
|
||||
static char buf[PATH_MAX];
|
||||
#ifdef _WIN32
|
||||
return fullpath(buf, input, PATH_MAX);
|
||||
return _fullpath(buf, input, PATH_MAX);
|
||||
#else
|
||||
return realpath(input, buf);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue