Commit e728c858 authored by valenok's avatar valenok

added __cdecl to main()

parent 49065f21
...@@ -388,7 +388,7 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR cmdline, int show) { ...@@ -388,7 +388,7 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR cmdline, int show) {
} }
#endif /* _WIN32 */ #endif /* _WIN32 */
int main(int argc, char *argv[]) { int WINCDECL main(int argc, char *argv[]) {
start_mongoose(argc, argv); start_mongoose(argc, argv);
printf("%s started on port(s) %s with web root [%s]\n", printf("%s started on port(s) %s with web root [%s]\n",
server_name, mg_get_option(ctx, "listening_ports"), server_name, mg_get_option(ctx, "listening_ports"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment