Subversion Repositories Tewi

Rev

Rev 400 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 400 Rev 402
Line 1... Line 1...
1
/* $Id: config.c 400 2024-11-03 05:19:42Z nishi $ */
1
/* $Id: config.c 402 2024-11-03 10:39:59Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "../config.h"
5
#include "../config.h"
6
 
6
 
Line 131... Line 131...
131
	strcpy(config.hostname, "ps3");
131
	strcpy(config.hostname, "ps3");
132
#elif defined(__ps2sdk__)
132
#elif defined(__ps2sdk__)
133
	strcpy(config.hostname, "ps2");
133
	strcpy(config.hostname, "ps2");
134
#elif defined(__NETWARE__)
134
#elif defined(__NETWARE__)
135
	strcpy(config.hostname, "netware");
135
	strcpy(config.hostname, "netware");
-
 
136
#elif defined(__amiga__)
-
 
137
	strcpy(config.hostname, "amiga");
136
#else
138
#else
137
	gethostname(config.hostname, 1024);
139
	gethostname(config.hostname, 1024);
138
#endif
140
#endif
139
#ifdef HAS_CHROOT
141
#ifdef HAS_CHROOT
140
	tw_add_define("HAS_CHROOT");
142
	tw_add_define("HAS_CHROOT");