added __cdecl to main()

This commit is contained in:
valenok 2010-09-07 21:11:43 +01:00
parent 49065f2165
commit e728c85863

2
main.c
View File

@ -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"),