[vlc-devel] [PATCH 28/41] Do not use config_GetLibDir() on OS/2

KO Myung-Hun komh at chollian.net
Mon Oct 10 13:44:07 CEST 2011


---
 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++;
-- 
1.7.3.2



More information about the vlc-devel mailing list