---
mingw-w64-crt/crt/crtdll_compat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mingw-w64-crt/crt/crtdll_compat.c
b/mingw-w64-crt/crt/crtdll_compat.c
index 0f0b8d4820da..7ab3a82984e0 100644
--- a/mingw-w64-crt/crt/crtdll_compat.c
+++ b/mingw-w64-crt/crt/crtdll_compat.c
@@ -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);
--
2.20.1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public