/[tewi]/config_platform.h
ViewVC logotype

Contents of /config_platform.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations)
Thu Oct 17 09:53:38 2024 UTC (4 weeks, 1 day ago) by nishi
Branch: MAIN
Content type: text/x-c
update

1 /* $Id: config_platform.h 359 2024-10-16 14:34:51Z 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(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_IPV6)
40 #define NO_IPV6
41 /* PSP/PS2/PS3 does not have IPv6 */
42 #endif
43
44 #if (defined(_PSP) || defined(__ps2sdk__)) && defined(USE_POLL)
45 #undef USE_POLL
46 /* Force select(2) for PSP/PS2 */
47 #endif
48
49 #if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && defined(HAS_CHROOT)
50 #undef HAS_CHROOT
51 /* PSP/PS2/PS3 should not have chroot */
52 #endif
53
54 #if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_GETNAMEINFO)
55 #define NO_GETNAMEINFO
56 /* PSP/PS2/PS3 should not have getnameinfo */
57 #endif
58
59 #if (defined(__minix)) && !defined(NO_IPV6)
60 #define NO_IPV6
61 /* Minix does not have IPv6 */
62 #endif
63
64 #if defined(__WATCOMC__) && defined(__OS2__) && !defined(NO_IPV6)
65 #define NO_IPV6
66 #endif
67
68 #if defined(__WATCOMC__) && defined(__NETWARE__) && !defined(NO_IPV6)
69 #define NO_IPV6
70 #endif
71
72 #if defined(__WATCOMC__) && defined(__DOS__) && !defined(NO_IPV6)
73 #define NO_IPV6
74 #endif
75
76 #if defined(__NeXT__) && !defined(NO_IPV6)
77 #define NO_IPV6
78 #endif
79
80 #if defined(__NeXT__) && !defined(NO_GETNAMEINFO)
81 #define NO_GETNAMEINFO
82 #endif
83
84 #if defined(__NeXT__) && defined(USE_POLL)
85 #undef USE_POLL
86 #endif
87
88 #endif
89
90 /*
91 vim: syntax=c
92 */

nishi@chaotic.ninja
ViewVC Help
Powered by ViewVC 1.3.0-dev