Subversion Repositories Tewi

Rev

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

Rev 187 Rev 189
Line 1... Line 1...
1
/* $Id: config.c 187 2024-09-28 00:07:34Z nishi $ */
1
/* $Id: config.c 189 2024-09-29 00:37:00Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "tw_config.h"
5
#include "tw_config.h"
6
#include "tw_module.h"
6
#include "tw_module.h"
Line 103... Line 103...
103
	config.defined[0] = NULL;
103
	config.defined[0] = NULL;
104
#if defined(_PSP)
104
#if defined(_PSP)
105
	strcpy(config.hostname, "psp");
105
	strcpy(config.hostname, "psp");
106
#elif defined(__PPU__)
106
#elif defined(__PPU__)
107
	strcpy(config.hostname, "ps3");
107
	strcpy(config.hostname, "ps3");
-
 
108
#elif defined(__ps2sdk__)
-
 
109
	strcpy(config.hostname, "ps2");
108
#else
110
#else
109
	gethostname(config.hostname, 1024);
111
	gethostname(config.hostname, 1024);
110
#endif
112
#endif
111
#ifdef HAS_CHROOT
113
#ifdef HAS_CHROOT
112
	tw_add_define("HAS_CHROOT");
114
	tw_add_define("HAS_CHROOT");