set title for windows build
git-svn-id: file:///raid/svn-personal/tewi/trunk@50 8739d7e6-ffea-ec47-b151-bdff447c6205
This commit is contained in:
parent
3e51e27b87
commit
bc9962bab7
|
@ -9,6 +9,10 @@
|
|||
#include <string.h>
|
||||
#include <signal.h>
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#ifndef NO_SSL
|
||||
#include <openssl/opensslv.h>
|
||||
#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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user