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