mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-27 03:43:37 +08:00
crt: crtdll_compat: Add missing __cdecl signature for __GetMainArgs()
Signed-off-by: LIU Hao <lh_mouse@126.com>
This commit is contained in:
parent
886cea926f
commit
38238df8f5
@ -7,7 +7,7 @@
|
||||
#include <internal.h>
|
||||
|
||||
/* Define __getmainargs() function via crtdll.dll __GetMainArgs() function */
|
||||
extern void __GetMainArgs(int *argc, char ***argv, char ***envp, int expand_wildcards);
|
||||
extern void __cdecl __GetMainArgs(int *argc, char ***argv, char ***envp, int expand_wildcards);
|
||||
int __cdecl __getmainargs(int *argc, char ***argv, char ***envp, int expand_wildcards, __UNUSED_PARAM(_startupinfo *startup_info))
|
||||
{
|
||||
__GetMainArgs(argc, argv, envp, expand_wildcards);
|
||||
|
Loading…
Reference in New Issue
Block a user