/* $Id: config.h.tmpl 240 2024-10-03 05:54:55Z nishi $ */ #ifndef __CONFIG_H__ #define __CONFIG_H__ #define SERVER_ADMIN "webmaster@domain" #undef NO_IPV6 #undef NO_SSL #define USE_POLL #define HAS_CHROOT #undef NO_GETADDRINFO #undef USE_WINSOCK1 /* DO NOT EDIT BELOW THIS LINE */ #ifdef NO_SSL #define SSL void #endif #if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(USE_POLL) #undef USE_POLL /* Force select(2) for Windows */ #endif #if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(USE_WINSOCK1) && !defined(NO_GETADDRINFO) #define NO_GETADDRINFO /* getaddrinfo is not on winsock 1 */ #endif #if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(HAS_CHROOT) #undef HAS_CHROOT /* Windows should not have chroot */ #endif #if (defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && !defined(NO_GETADDRINFO) #define NO_GETADDRINFO /* Do not use getaddrinfo */ #endif #if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_IPV6) #define NO_IPV6 /* PSP/PS2/PS3 does not have IPv6 */ #endif #if (defined(_PSP) || defined(__ps2sdk__)) && defined(USE_POLL) #undef USE_POLL /* Force select(2) for PSP/PS2 */ #endif #if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && defined(HAS_CHROOT) #undef HAS_CHROOT /* PSP/PS2/PS3 should not have chroot */ #endif #if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_GETADDRINFO) #define NO_GETADDRINFO /* PSP/PS2/PS3 should not have getaddrinfo */ #endif #endif /* vim: syntax=c */