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