vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Tue Jul 24 17:37:53 2018 +0200| [f615db63323905da6bdff735c1c717e33e3024fa] | committer: Hugo Beauzée-Luyssen
winvlc: Work around lack of relocation table in vlc.exe > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=f615db63323905da6bdff735c1c717e33e3024fa --- bin/winvlc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/winvlc.c b/bin/winvlc.c index 8e072106f6..e576547dc4 100644 --- a/bin/winvlc.c +++ b/bin/winvlc.c @@ -111,6 +111,10 @@ static void PrioritizeSystem32(void) SetProcessMitigationPolicy( 10 /* ProcessImageLoadPolicy */, &m, sizeof( m ) ); } +/* + * Export WinMain to force GNU ld to generate a .reloc section + */ +__declspec(dllexport) int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow ) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
