Subversion Repositories Tewi

Rev

Rev 182 | Rev 189 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
43 nishi 1
/* $Id: config.h.tmpl 187 2024-09-28 00:07:34Z nishi $ */
2
 
3
#ifndef __CONFIG_H__
4
#define __CONFIG_H__
5
 
128 nishi 6
#define SERVER_ADMIN "webmaster@domain"
7
 
173 nishi 8
#undef NO_IPV6
50 nishi 9
#undef NO_SSL
118 nishi 10
#define USE_POLL
156 nishi 11
#define HAS_CHROOT
163 nishi 12
#undef NO_GETADDRINFO
43 nishi 13
 
14
/* DO NOT EDIT BELOW THIS LINE */
15
 
16
#ifdef NO_SSL
17
#define SSL void
18
#endif
19
 
118 nishi 20
#if defined(__MINGW32__) && defined(USE_POLL)
21
#undef USE_POLL
22
/* Force select(2) for Windows */
43 nishi 23
#endif
79 nishi 24
 
156 nishi 25
#if defined(__MINGW32__) && defined(HAS_CHROOT)
26
#undef HAS_CHROOT
27
/* Windows should not have chroot */
118 nishi 28
#endif
29
 
187 nishi 30
#if (defined(_PSP) || defined(__PPU__)) && !defined(NO_IPV6)
182 nishi 31
#define NO_IPV6
187 nishi 32
/* PSP/PS3 does not have IPv6 */
156 nishi 33
#endif
34
 
187 nishi 35
#if (defined(_PSP)) && defined(USE_POLL)
182 nishi 36
#undef USE_POLL
37
/* Force select(2) for PSP */
38
#endif
39
 
187 nishi 40
#if (defined(_PSP) || defined(__PPU__)) && defined(HAS_CHROOT)
182 nishi 41
#undef HAS_CHROOT
187 nishi 42
/* PSP/PS3 should not have chroot */
182 nishi 43
#endif
44
 
187 nishi 45
#if (defined(_PSP) || defined(__PPU__)) && !defined(NO_GETADDRINFO)
182 nishi 46
#define NO_GETADDRINFO
187 nishi 47
/* PSP/PS3 should not have getaddrinfo */
182 nishi 48
#endif
49
 
50
#endif
51
 
79 nishi 52
/*
53
vim: syntax=c
54
*/