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

Last change on this file since 331 was 331, checked in by Nishi, on Oct 15, 2024 at 3:00:31 AM

trying to add nextstep support

  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1/* $Id: config.h.tmpl 331 2024-10-14 18:00:31Z nishi $ */
2
3#ifndef __CONFIG_H__
4#define __CONFIG_H__
5
6#define SERVER_ADMIN "webmaster@domain"
7
8#undef NO_IPV6
9#undef NO_SSL
10#define USE_POLL
11#define HAS_CHROOT
12#undef NO_GETNAMEINFO
13#undef USE_WINSOCK1
14#undef BUILD_GUI
15
16/* DO NOT EDIT BELOW THIS LINE */
17
18#ifdef NO_SSL
19#define SSL void
20#endif
21
22#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__OS2__) && !defined(__NETWARE__))) && defined(BUILD_GUI) && !defined(SERVICE)
23#define BUILD_GUI_VALID
24#endif
25
26#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(USE_POLL)
27#undef USE_POLL
28/* Force select(2) for Windows */
29#endif
30
31#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(USE_WINSOCK1) && !defined(NO_GETNAMEINFO)
32#define NO_GETNAMEINFO
33/* getnameinfo is not on winsock 1 */
34#endif
35
36#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(HAS_CHROOT)
37#undef HAS_CHROOT
38/* Windows should not have chroot */
39#endif
40
41#if (defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && !defined(NO_GETNAMEINFO)
42#define NO_GETNAMEINFO
43/* Do not use getnameinfo */
44#endif
45
46#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_IPV6)
47#define NO_IPV6
48/* PSP/PS2/PS3 does not have IPv6 */
49#endif
50
51#if (defined(_PSP) || defined(__ps2sdk__)) && defined(USE_POLL)
52#undef USE_POLL
53/* Force select(2) for PSP/PS2 */
54#endif
55
56#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && defined(HAS_CHROOT)
57#undef HAS_CHROOT
58/* PSP/PS2/PS3 should not have chroot */
59#endif
60
61#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_GETNAMEINFO)
62#define NO_GETNAMEINFO
63/* PSP/PS2/PS3 should not have getnameinfo */
64#endif
65
66#if (defined(__minix)) && !defined(NO_IPV6)
67#define NO_IPV6
68/* Minix does not have IPv6 */
69#endif
70
71#if defined(__WATCOMC__) && defined(__OS2__) && !defined(NO_IPV6)
72#define NO_IPV6
73#endif
74
75#if defined(__WATCOMC__) && defined(__NETWARE__) && !defined(NO_IPV6)
76#define NO_IPV6
77#endif
78
79#if defined(__NeXT__) && !defined(NO_IPV6)
80#define NO_IPV6
81#endif
82
83#if defined(__NeXT__) && !defined(NO_GETNAMEINFO)
84#define NO_GETNAMEINFO
85#endif
86
87#if defined(__NeXT__) && defined(USE_POLL)
88#undef USE_POLL
89#endif
90
91#endif
92
93/*
94vim: syntax=c
95*/
Note: See TracBrowser for help on using the repository browser.