/[tewi]/Server/config.c
ViewVC logotype

Diff of /Server/config.c

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by nishi, Thu Oct 17 09:53:38 2024 UTC Revision 1.3 by nishi, Sun Nov 3 10:40:12 2024 UTC
# Line 10  Line 10 
10  #include <string.h>  #include <string.h>
11  #include <sys/stat.h>  #include <sys/stat.h>
12    
13    #ifdef NEED_DIRECT
14    #include <direct.h>
15    #endif
16    
17  #if !defined(_MSC_VER) && !defined(__BORLANDC__)  #if !defined(_MSC_VER) && !defined(__BORLANDC__)
18  #include <unistd.h>  #include <unistd.h>
19  #endif  #endif
# Line 129  void tw_config_init(void) { Line 133  void tw_config_init(void) {
133          strcpy(config.hostname, "ps2");          strcpy(config.hostname, "ps2");
134  #elif defined(__NETWARE__)  #elif defined(__NETWARE__)
135          strcpy(config.hostname, "netware");          strcpy(config.hostname, "netware");
136    #elif defined(__amiga__)
137            strcpy(config.hostname, "amiga");
138  #else  #else
139          gethostname(config.hostname, 1024);          gethostname(config.hostname, 1024);
140  #endif  #endif


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

nishi@chaotic.ninja
ViewVC Help
Powered by ViewVC 1.3.0-dev