Commit e0e775bd authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Rémi Denis-Courmont

Implement IsRemote() for OS/2

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 35536f7c
......@@ -123,10 +123,10 @@ static bool IsRemote (int fd)
}
# define IsRemote(fd,path) IsRemote(fd)
#else /* WIN32 */
#else /* WIN32 || __OS2__ */
static bool IsRemote (const char *path)
{
# ifndef UNDER_CE
# if !defined(UNDER_CE) && !defined(__OS2__)
wchar_t *wpath = ToWide (path);
bool is_remote = (wpath != NULL && PathIsNetworkPathW (wpath));
free (wpath);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment