diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 3 | ||||
| -rw-r--r-- | src/server/publicServer.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index af854ea..d182c7a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -33,6 +33,9 @@ ENDIF ( Server ) IF ( PREFIX ) ADD_DEFINITIONS ( -DPREFIX="${PREFIX}" ) ENDIF ( PREFIX ) +IF ( Win AND NOT Server ) + ADD_DEFINITIONS ( -mwindows ) +ENDIF ( Win AND NOT Server ) #include zdrojaku INCLUDE_DIRECTORIES ( ${WORKDIR}/base ) INCLUDE_DIRECTORIES ( ${WORKDIR}/net ) diff --git a/src/server/publicServer.c b/src/server/publicServer.c index a0cedfe..315fdd2 100644 --- a/src/server/publicServer.c +++ b/src/server/publicServer.c @@ -262,7 +262,7 @@ int initPublicServer() if( ret < 0 ) { - printf("Nemozem inicalizovat sietovy socket !\n"); + printf("Unable to initialize network socket!\n"); return -1; } @@ -270,7 +270,7 @@ int initPublicServer() if (registerPublicServer() < 0) { - printf("Nemuzu kontaktovat master server !\n"); + printf("Unable to contact MasterServer!\n"); } return 0; |