Commit 68e40a4e authored by Antoine Cellerier's avatar Antoine Cellerier

* src/modules/modules.c: hopefully fix compilation for non linux builds.

parent 5ed9f9b6
......@@ -802,8 +802,8 @@ static void AllocateAllPlugins( vlc_object_t *p_this )
if( (*ppsz_path)[0] != '/' )
#endif
{
if( 0>= asprintf(&psz_fullpath, "%s"DIR_SEP"%s",
p_this->p_libvlc_global->psz_vlcpath, *ppsz_path) )
if( 0>= asprintf( &psz_fullpath, "%s"DIR_SEP"%s",
vlc_global( p_this )->psz_vlcpath, *ppsz_path) )
psz_fullpath = NULL;
}
else
......
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