diff --git a/bin/winvlc.c b/bin/winvlc.c index 8e072106f68cf852124a03bab0120344b2553d65..e576547dc4f7cbe38e7e0b0e909d561b3e1a4309 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 )