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

Winstore app: don't use GetModuleFileName

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