source: Main/trunk/config.h.tmpl@ 219

Last change on this file since 219 was 219, checked in by Nishi, on Oct 3, 2024 at 5:40:37 AM

add watcom

  • Property svn:keywords set to Id
File size: 1.4 KB
RevLine 
[43]1/* $Id: config.h.tmpl 219 2024-10-02 20:40:37Z 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
[219]20#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(USE_POLL)
[118]21#undef USE_POLL
22/* Force select(2) for Windows */
[43]23#endif
[79]24
[219]25#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(HAS_CHROOT)
[156]26#undef HAS_CHROOT
27/* Windows should not have chroot */
[118]28#endif
29
[219]30#if (defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && !defined(NO_GETADDRINFO)
[212]31#define NO_GETADDRINFO
32/* Do not use getaddrinfo */
33#endif
34
[189]35#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_IPV6)
[182]36#define NO_IPV6
[189]37/* PSP/PS2/PS3 does not have IPv6 */
[156]38#endif
39
[189]40#if (defined(_PSP) || defined(__ps2sdk__)) && defined(USE_POLL)
[182]41#undef USE_POLL
[189]42/* Force select(2) for PSP/PS2 */
[182]43#endif
44
[189]45#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && defined(HAS_CHROOT)
[182]46#undef HAS_CHROOT
[189]47/* PSP/PS2/PS3 should not have chroot */
[182]48#endif
49
[189]50#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_GETADDRINFO)
[182]51#define NO_GETADDRINFO
[189]52/* PSP/PS2/PS3 should not have getaddrinfo */
[182]53#endif
54
55#endif
56
[79]57/*
58vim: syntax=c
59*/
Note: See TracBrowser for help on using the repository browser.