Subversion Repositories Tewi

Rev

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

Rev 253 Rev 255
Line 1... Line 1...
1
/* $Id: config.h.tmpl 253 2024-10-04 03:13:36Z nishi $ */
1
/* $Id: config.h.tmpl 255 2024-10-04 04:08:58Z 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"
7
 
7
 
8
#undef NO_IPV6
8
#undef NO_IPV6
9
#undef NO_SSL
9
#undef NO_SSL
10
#define USE_POLL
10
#define USE_POLL
11
#define HAS_CHROOT
11
#define HAS_CHROOT
12
#undef NO_GETADDRINFO
12
#undef NO_GETNAMEINFO
13
#undef USE_WINSOCK1
13
#undef USE_WINSOCK1
14
#undef BUILD_GUI
14
#undef BUILD_GUI
15
 
15
 
16
/* DO NOT EDIT BELOW THIS LINE */
16
/* DO NOT EDIT BELOW THIS LINE */
17
 
17
 
Line 26... Line 26...
26
#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(USE_POLL)
26
#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(USE_POLL)
27
#undef USE_POLL
27
#undef USE_POLL
28
/* Force select(2) for Windows */
28
/* Force select(2) for Windows */
29
#endif
29
#endif
30
 
30
 
31
#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(USE_WINSOCK1) && !defined(NO_GETADDRINFO)
31
#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(USE_WINSOCK1) && !defined(NO_GETNAMEINFO)
32
#define NO_GETADDRINFO
32
#define NO_GETNAMEINFO
33
/* getaddrinfo is not on winsock 1 */
33
/* getnameinfo is not on winsock 1 */
34
#endif
34
#endif
35
 
35
 
36
#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(HAS_CHROOT)
36
#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(HAS_CHROOT)
37
#undef HAS_CHROOT
37
#undef HAS_CHROOT
38
/* Windows should not have chroot */
38
/* Windows should not have chroot */
39
#endif
39
#endif
40
 
40
 
41
#if (defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && !defined(NO_GETADDRINFO)
41
#if (defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && !defined(NO_GETNAMEINFO)
42
#define NO_GETADDRINFO
42
#define NO_GETNAMEINFO
43
/* Do not use getaddrinfo */
43
/* Do not use getnameinfo */
44
#endif
44
#endif
45
 
45
 
46
#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_IPV6)
46
#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_IPV6)
47
#define NO_IPV6
47
#define NO_IPV6
48
/* PSP/PS2/PS3 does not have IPv6 */
48
/* PSP/PS2/PS3 does not have IPv6 */
Line 56... Line 56...
56
#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && defined(HAS_CHROOT)
56
#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && defined(HAS_CHROOT)
57
#undef HAS_CHROOT
57
#undef HAS_CHROOT
58
/* PSP/PS2/PS3 should not have chroot */
58
/* PSP/PS2/PS3 should not have chroot */
59
#endif
59
#endif
60
 
60
 
61
#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_GETADDRINFO)
61
#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_GETNAMEINFO)
62
#define NO_GETADDRINFO
62
#define NO_GETNAMEINFO
63
/* PSP/PS2/PS3 should not have getaddrinfo */
63
/* PSP/PS2/PS3 should not have getnameinfo */
64
#endif
64
#endif
65
 
65
 
66
#endif
66
#endif
67
 
67
 
68
/*
68
/*