Commit 6499c2cc authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

WinCE: tentative compile fix

parent 7158aaea
......@@ -123,6 +123,7 @@ int vlc_mkdir( const char *dirname, mode_t mode )
char *vlc_getcwd (void)
{
#ifndef UNDER_CE
wchar_t *wdir = _wgetcwd (NULL, 0);
if (wdir == NULL)
return NULL;
......@@ -130,6 +131,9 @@ char *vlc_getcwd (void)
char *dir = FromWide (wdir);
free (wdir);
return dir;
#else
return NULL;
#endif
}
/* Under Windows, these wrappers return the list of drive letters
......
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