]> git.sesse.net Git - vlc/commitdiff
Revert "lua: Make sure it builds with --disable-nls."
authorAntoine Cellerier <dionoea@videolan.org>
Mon, 28 Dec 2009 16:52:34 +0000 (17:52 +0100)
committerAntoine Cellerier <dionoea@videolan.org>
Mon, 28 Dec 2009 22:56:37 +0000 (23:56 +0100)
This reverts commit 29847260f62e4cf6218b0700a75e6f6b9ffb84e3.
I'd rather have a stable lua api (besides, vlclua_gettext is already a noop).

modules/misc/lua/intf.c
modules/misc/lua/libs.h

index 0092243477663f884c3ae8bc2408b0a2f07acc10..5d73547c774a6db2c65ffd888971b9c29b82d37d 100644 (file)
@@ -211,9 +211,7 @@ int Open_LuaIntf( vlc_object_t *p_this )
     luaopen_video( L );
     luaopen_vlm( L );
     luaopen_volume( L );
-#ifdef ENABLE_NLS
     luaopen_gettext( L );
-#endif
 
     /* clean up */
     lua_pop( L, 1 );
index c4c0ec346d4185960703e8bb387b063aed59e297..7bd8701105467944a9b3b90915ddf69200e7b91b 100644 (file)
@@ -42,8 +42,6 @@ void luaopen_variables( lua_State * );
 void luaopen_video( lua_State * );
 void luaopen_vlm( lua_State * );
 void luaopen_volume( lua_State * );
-#ifdef ENABLE_NLS
 void luaopen_gettext( lua_State * );
-#endif
 
 #endif