ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/tewi/config_platform.h
Revision: 1.3
Committed: Sun Nov 3 10:40:12 2024 UTC (11 days, 18 hours ago) by nishi
Content type: text/x-c
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +16 -1 lines
Log Message:
amiga

File Contents

# Content
1 /* $Id: config_platform.h 402 2024-11-03 10:39:59Z nishi $ */
2
3 /*
4 * Do not edit me!
5 * You should edit config.h instead!
6 */
7
8 #ifndef __CONFIG_PLATFORM_H__
9 #define __CONFIG_PLATFORM_H__
10
11 #ifdef NO_SSL
12 #define SSL void
13 #endif
14
15 #if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__OS2__) && !defined(__NETWARE__))) && defined(BUILD_GUI) && !defined(SERVICE)
16 #define BUILD_GUI_VALID
17 #endif
18
19 #if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(USE_POLL)
20 #undef USE_POLL
21 /* Force select(2) for Windows */
22 #endif
23
24 #if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(USE_WINSOCK1) && !defined(NO_GETNAMEINFO)
25 #define NO_GETNAMEINFO
26 /* getnameinfo is not on winsock 1 */
27 #endif
28
29 #if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(HAS_CHROOT)
30 #undef HAS_CHROOT
31 /* Windows should not have chroot */
32 #endif
33
34 #if (defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && !defined(NO_GETNAMEINFO)
35 #define NO_GETNAMEINFO
36 /* Do not use getnameinfo */
37 #endif
38
39 #if (defined(__amiga__)) && !defined(NO_IPV6)
40 #define NO_IPV6
41 /* Amiga does not have IPv6 */
42 #endif
43
44 #if (defined(__amiga__)) && defined(HAS_CHROOT)
45 #undef HAS_CHROOT
46 /* Amiga does not have chroot */
47 #endif
48
49 #if (defined(__amiga__)) && !defined(NO_GETNAMEINFO)
50 #define NO_GETNAMEINFO
51 /* Do not use getnameinfo */
52 #endif
53
54 #if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_IPV6)
55 #define NO_IPV6
56 /* PSP/PS2/PS3 does not have IPv6 */
57 #endif
58
59 #if (defined(_PSP) || defined(__ps2sdk__)) && defined(USE_POLL)
60 #undef USE_POLL
61 /* Force select(2) for PSP/PS2 */
62 #endif
63
64 #if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && defined(HAS_CHROOT)
65 #undef HAS_CHROOT
66 /* PSP/PS2/PS3 should not have chroot */
67 #endif
68
69 #if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_GETNAMEINFO)
70 #define NO_GETNAMEINFO
71 /* PSP/PS2/PS3 should not have getnameinfo */
72 #endif
73
74 #if (defined(__minix)) && !defined(NO_IPV6)
75 #define NO_IPV6
76 /* Minix does not have IPv6 */
77 #endif
78
79 #if defined(__WATCOMC__) && defined(__OS2__) && !defined(NO_IPV6)
80 #define NO_IPV6
81 #endif
82
83 #if defined(__WATCOMC__) && defined(__NETWARE__) && !defined(NO_IPV6)
84 #define NO_IPV6
85 #endif
86
87 #if defined(__WATCOMC__) && defined(__DOS__) && !defined(NO_IPV6)
88 #define NO_IPV6
89 #endif
90
91 #if defined(__NeXT__) && !defined(NO_IPV6)
92 #define NO_IPV6
93 #endif
94
95 #if defined(__NeXT__) && !defined(NO_GETNAMEINFO)
96 #define NO_GETNAMEINFO
97 #endif
98
99 #if defined(__NeXT__) && defined(USE_POLL)
100 #undef USE_POLL
101 #endif
102
103 #if defined(__bsdi__) && !defined(NO_IPV6)
104 #define NO_IPV6
105 #endif
106
107 #if defined(__bsdi__) && defined(USE_POLL)
108 #undef USE_POLL
109 #endif
110
111 #endif
112
113 /*
114 vim: syntax=c
115 */