Skip to content
Snippets Groups Projects
Commit f615db63 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

winvlc: Work around lack of relocation table in vlc.exe

parent 7da47774
No related branches found
Tags 3.0.4
No related merge requests found
......@@ -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 )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment