diff --git a/Server/main.c b/Server/main.c index 967b6f7..6da6567 100644 --- a/Server/main.c +++ b/Server/main.c @@ -9,6 +9,10 @@ #include #include +#ifdef __MINGW32__ +#include +#endif + #ifndef NO_SSL #include #endif @@ -76,6 +80,8 @@ int main(int argc, char** argv) { cm_log("Daemon", "Ready, server: %s", tw_server); #ifndef __MINGW32__ signal(SIGCHLD, SIG_IGN); +#else + SetConsoleTitle(tw_server); #endif tw_server_loop(); } diff --git a/config.h b/config.h index 34ea876..7d9d770 100644 --- a/config.h +++ b/config.h @@ -3,7 +3,7 @@ #ifndef __CONFIG_H__ #define __CONFIG_H__ -#define NO_SSL +#undef NO_SSL /* DO NOT EDIT BELOW THIS LINE */