[vlc-commits] Do not use config_GetLibDir() on OS/2

KO Myung-Hun git at videolan.org
Mon Oct 10 17:47:00 CEST 2011


vlc | branch: master | KO Myung-Hun <komh at chollian.net> | Mon Oct 10 20:44:07 2011 +0900| [675e1990a72b5fae148c1bc629cc4f50ae78abd6] | committer: Rémi Denis-Courmont

Do not use config_GetLibDir() on OS/2

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=675e1990a72b5fae148c1bc629cc4f50ae78abd6
---

 modules/lua/vlc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/lua/vlc.c b/modules/lua/vlc.c
index ea3f84b..5433eb8 100644
--- a/modules/lua/vlc.c
+++ b/modules/lua/vlc.c
@@ -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++;



More information about the vlc-commits mailing list