Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
b412ee7b
Commit
b412ee7b
authored
Mar 29, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lua: do not compile Console code when in WinStoreApp mode
parent
085a335d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
modules/lua/extension.c
modules/lua/extension.c
+1
-1
modules/lua/intf.c
modules/lua/intf.c
+1
-1
modules/lua/libs/win.c
modules/lua/libs/win.c
+3
-1
No files found.
modules/lua/extension.c
View file @
b412ee7b
...
...
@@ -833,7 +833,7 @@ static lua_State* GetLuaState( extensions_manager_t *p_mgr,
luaopen_vlm
(
L
);
luaopen_volume
(
L
);
luaopen_xml
(
L
);
#if
def WIN32
#if
defined(WIN32) && !defined(WINAPI_FAMILY_APP)
luaopen_win
(
L
);
#endif
...
...
modules/lua/intf.c
View file @
b412ee7b
...
...
@@ -266,7 +266,7 @@ static int Start_LuaIntf( vlc_object_t *p_this, const char *name )
luaopen_gettext
(
L
);
luaopen_xml
(
L
);
luaopen_equalizer
(
L
);
#if
def WIN32
#if
defined(WIN32) && !defined(WINAPI_FAMILY_APP)
luaopen_win
(
L
);
#endif
...
...
modules/lua/libs/win.c
View file @
b412ee7b
...
...
@@ -33,6 +33,8 @@
#include "../vlc.h"
#include "../libs.h"
#ifndef WINAPI_FAMILY_APP
/* Based on modules/control/rc.c and include/vlc_interface.h */
static
HANDLE
GetConsole
(
lua_State
*
L
)
{
...
...
@@ -156,4 +158,4 @@ void luaopen_win( lua_State *L )
lua_setfield
(
L
,
-
2
,
"win"
);
}
#endif
/* WINAPI_FAMILY_APP */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment