Subversion Repositories Tewi

Rev

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

Rev 189 Rev 212
Line 1... Line 1...
1
/* $Id: config.h.tmpl 189 2024-09-29 00:37:00Z nishi $ */
1
/* $Id: config.h.tmpl 212 2024-10-02 17:44:55Z 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 15... Line 15...
15
 
15
 
16
#ifdef NO_SSL
16
#ifdef NO_SSL
17
#define SSL void
17
#define SSL void
18
#endif
18
#endif
19
 
19
 
20
#if defined(__MINGW32__) && defined(USE_POLL)
20
#if (defined(__MINGW32__) || defined(_MSC_VER)) && defined(USE_POLL)
21
#undef USE_POLL
21
#undef USE_POLL
22
/* Force select(2) for Windows */
22
/* Force select(2) for Windows */
23
#endif
23
#endif
24
 
24
 
25
#if defined(__MINGW32__) && defined(HAS_CHROOT)
25
#if (defined(__MINGW32__) || defined(_MSC_VER)) && 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(_MSC_VER) && !defined(NO_GETADDRINFO)
-
 
31
#define NO_GETADDRINFO
-
 
32
/* Do not use getaddrinfo */
-
 
33
#endif
-
 
34
 
30
#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_IPV6)
35
#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_IPV6)
31
#define NO_IPV6
36
#define NO_IPV6
32
/* PSP/PS2/PS3 does not have IPv6 */
37
/* PSP/PS2/PS3 does not have IPv6 */
33
#endif
38
#endif
34
 
39