Commit 675e1990 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Rémi Denis-Courmont
Browse files

Do not use config_GetLibDir() on OS/2


Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent ccc52211
...@@ -233,7 +233,7 @@ int vlclua_dir_list( vlc_object_t *p_this, const char *luadirname, ...@@ -233,7 +233,7 @@ int vlclua_dir_list( vlc_object_t *p_this, const char *luadirname,
i++; i++;
free( datadir ); free( datadir );
#if !(defined(__APPLE__) || defined(WIN32)) #if !(defined(__APPLE__) || defined(WIN32) || defined(__OS2__))
if( likely(asprintf( &ppsz_dir_list[i], "%s"DIR_SEP"lua"DIR_SEP"%s", if( likely(asprintf( &ppsz_dir_list[i], "%s"DIR_SEP"lua"DIR_SEP"%s",
config_GetLibDir(), luadirname ) != -1) ) config_GetLibDir(), luadirname ) != -1) )
i++; i++;
......
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