Subversion Repositories Tewi

Rev

Rev 359 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
350 nishi 1
/* $Id: config_platform.h 377 2024-10-17 10:17:48Z 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
 
359 nishi 72
#if defined(__WATCOMC__) && defined(__DOS__) && !defined(NO_IPV6)
73
#define NO_IPV6
74
#endif
75
 
350 nishi 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
 
377 nishi 88
#if defined(__bsdi__) && !defined(NO_IPV6)
89
#define NO_IPV6
350 nishi 90
#endif
91
 
377 nishi 92
#if defined(__bsdi__) && defined(USE_POLL)
93
#undef USE_POLL
94
#endif
95
 
96
#endif
97
 
350 nishi 98
/*
99
vim: syntax=c
100
*/