]> git.sesse.net Git - vlc/commitdiff
Do not use config_GetLibDir() on OS/2
authorKO Myung-Hun <komh@chollian.net>
Mon, 10 Oct 2011 11:44:07 +0000 (20:44 +0900)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 10 Oct 2011 15:45:46 +0000 (18:45 +0300)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
modules/lua/vlc.c

index ea3f84b01573b02c9e486e6d5e3c8f5eb51ceb45..5433eb89bb8af579b806a8d2ba1456db9439adb2 100644 (file)
@@ -233,7 +233,7 @@ int vlclua_dir_list( vlc_object_t *p_this, const char *luadirname,
         i++;
     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",
                          config_GetLibDir(), luadirname ) != -1) )
             i++;