Rev | Line | |
---|
[43] | 1 | /* $Id: config.h.tmpl 240 2024-10-03 05:54:55Z 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
|
---|
[240] | 13 | #undef USE_WINSOCK1
|
---|
[43] | 14 |
|
---|
| 15 | /* DO NOT EDIT BELOW THIS LINE */
|
---|
| 16 |
|
---|
| 17 | #ifdef NO_SSL
|
---|
| 18 | #define SSL void
|
---|
| 19 | #endif
|
---|
| 20 |
|
---|
[219] | 21 | #if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(USE_POLL)
|
---|
[118] | 22 | #undef USE_POLL
|
---|
| 23 | /* Force select(2) for Windows */
|
---|
[43] | 24 | #endif
|
---|
[240] | 25 | #if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(USE_WINSOCK1) && !defined(NO_GETADDRINFO)
|
---|
| 26 | #define NO_GETADDRINFO
|
---|
| 27 | /* getaddrinfo is not on winsock 1 */
|
---|
| 28 | #endif
|
---|
[79] | 29 |
|
---|
[219] | 30 | #if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(HAS_CHROOT)
|
---|
[156] | 31 | #undef HAS_CHROOT
|
---|
| 32 | /* Windows should not have chroot */
|
---|
[118] | 33 | #endif
|
---|
| 34 |
|
---|
[219] | 35 | #if (defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && !defined(NO_GETADDRINFO)
|
---|
[212] | 36 | #define NO_GETADDRINFO
|
---|
| 37 | /* Do not use getaddrinfo */
|
---|
| 38 | #endif
|
---|
| 39 |
|
---|
[189] | 40 | #if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_IPV6)
|
---|
[182] | 41 | #define NO_IPV6
|
---|
[189] | 42 | /* PSP/PS2/PS3 does not have IPv6 */
|
---|
[156] | 43 | #endif
|
---|
| 44 |
|
---|
[189] | 45 | #if (defined(_PSP) || defined(__ps2sdk__)) && defined(USE_POLL)
|
---|
[182] | 46 | #undef USE_POLL
|
---|
[189] | 47 | /* Force select(2) for PSP/PS2 */
|
---|
[182] | 48 | #endif
|
---|
| 49 |
|
---|
[189] | 50 | #if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && defined(HAS_CHROOT)
|
---|
[182] | 51 | #undef HAS_CHROOT
|
---|
[189] | 52 | /* PSP/PS2/PS3 should not have chroot */
|
---|
[182] | 53 | #endif
|
---|
| 54 |
|
---|
[189] | 55 | #if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_GETADDRINFO)
|
---|
[182] | 56 | #define NO_GETADDRINFO
|
---|
[189] | 57 | /* PSP/PS2/PS3 should not have getaddrinfo */
|
---|
[182] | 58 | #endif
|
---|
| 59 |
|
---|
| 60 | #endif
|
---|
| 61 |
|
---|
[79] | 62 | /*
|
---|
| 63 | vim: syntax=c
|
---|
| 64 | */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.