Windows: use _fullpath() instead of fullpath().

Fix compilation error
This commit is contained in:
Vincent Torri 2022-08-17 12:17:21 +02:00 committed by Hermet Park
parent 714470e618
commit de87cdc717
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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