mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-13 17:00:19 +00:00
added __cdecl to main()
This commit is contained in:
1 parent
49065f2165
commit
e728c85863
1 file changed
+1
-1
@@ -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"),
|
||||||
|
|||||||
Reference in new issue
Block a user