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.h.tmpl 187 2024-09-28 00:07:34Z nishi $ */
1
/* $Id: config.h.tmpl 189 2024-09-29 00:37:00Z nishi $ */
2
 
2
 
3
#ifndef __CONFIG_H__
3
#ifndef __CONFIG_H__
4
#define __CONFIG_H__
4
#define __CONFIG_H__
5
 
5
 
6
#define SERVER_ADMIN "webmaster@domain"
6
#define SERVER_ADMIN "webmaster@domain"
Line 25... Line 25...
25
#if defined(__MINGW32__) && defined(HAS_CHROOT)
25
#if defined(__MINGW32__) && defined(HAS_CHROOT)
26
#undef HAS_CHROOT
26
#undef HAS_CHROOT
27
/* Windows should not have chroot */
27
/* Windows should not have chroot */
28
#endif
28
#endif
29
 
29
 
30
#if (defined(_PSP) || defined(__PPU__)) && !defined(NO_IPV6)
30
#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_IPV6)
31
#define NO_IPV6
31
#define NO_IPV6
32
/* PSP/PS3 does not have IPv6 */
32
/* PSP/PS2/PS3 does not have IPv6 */
33
#endif
33
#endif
34
 
34
 
35
#if (defined(_PSP)) && defined(USE_POLL)
35
#if (defined(_PSP) || defined(__ps2sdk__)) && defined(USE_POLL)
36
#undef USE_POLL
36
#undef USE_POLL
37
/* Force select(2) for PSP */
37
/* Force select(2) for PSP/PS2 */
38
#endif
38
#endif
39
 
39
 
40
#if (defined(_PSP) || defined(__PPU__)) && defined(HAS_CHROOT)
40
#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && defined(HAS_CHROOT)
41
#undef HAS_CHROOT
41
#undef HAS_CHROOT
42
/* PSP/PS3 should not have chroot */
42
/* PSP/PS2/PS3 should not have chroot */
43
#endif
43
#endif
44
 
44
 
45
#if (defined(_PSP) || defined(__PPU__)) && !defined(NO_GETADDRINFO)
45
#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_GETADDRINFO)
46
#define NO_GETADDRINFO
46
#define NO_GETADDRINFO
47
/* PSP/PS3 should not have getaddrinfo */
47
/* PSP/PS2/PS3 should not have getaddrinfo */
48
#endif
48
#endif
49
 
49
 
50
#endif
50
#endif
51
 
51
 
52
/*
52
/*