From e728c85863d6c518929b86e784f9fb5fe0e31dcf Mon Sep 17 00:00:00 2001 From: valenok Date: Tue, 7 Sep 2010 21:11:43 +0100 Subject: [PATCH] added __cdecl to main() --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 6ab67d89..0aad0fc3 100644 --- a/main.c +++ b/main.c @@ -388,7 +388,7 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR cmdline, int show) { } #endif /* _WIN32 */ -int main(int argc, char *argv[]) { +int WINCDECL main(int argc, char *argv[]) { start_mongoose(argc, argv); printf("%s started on port(s) %s with web root [%s]\n", server_name, mg_get_option(ctx, "listening_ports"),