From: Nishi Date: Wed, 18 Sep 2024 11:06:12 +0000 (+0000) Subject: set title for windows build X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=bc9962bab7138dce0aa67fb1ab9e8c5f583d909b;p=tewi.git set title for windows build git-svn-id: file:///raid/svn-personal/tewi/trunk@50 8739d7e6-ffea-ec47-b151-bdff447c6205 --- 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 */