mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-09 06:04:03 +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
|
//real path
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
path = fullpath(full, path, PATH_MAX);
|
path = _fullpath(full, path, PATH_MAX);
|
||||||
#else
|
#else
|
||||||
path = realpath(path, full);
|
path = realpath(path, full);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -70,7 +70,7 @@ char* getpath(const char* input)
|
||||||
{
|
{
|
||||||
static char buf[PATH_MAX];
|
static char buf[PATH_MAX];
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
return fullpath(buf, input, PATH_MAX);
|
return _fullpath(buf, input, PATH_MAX);
|
||||||
#else
|
#else
|
||||||
return realpath(input, buf);
|
return realpath(input, buf);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue