Commit 58774c32 authored by Rafaël Carré's avatar Rafaël Carré

Winstore app: don't use GetModuleFileName

parent 509e832b
......@@ -42,6 +42,9 @@
char *config_GetLibDir (void)
{
#if VLC_WINSTORE_APP
return NULL;
#else
/* Get our full path */
MEMORY_BASIC_INFORMATION mbi;
if (!VirtualQuery (config_GetLibDir, &mbi, sizeof(mbi)))
......@@ -59,6 +62,7 @@ char *config_GetLibDir (void)
return FromWide (wpath);
error:
abort ();
#endif
}
char *config_GetDataDir (void)
......
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