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

Last change on this file since 209 was 189, checked in by Nishi, on Sep 29, 2024 at 9:37:00 AM

will try to fix ps2 later

  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1/* $Id: config.h.tmpl 189 2024-09-29 00:37:00Z 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_GETADDRINFO
13
14/* DO NOT EDIT BELOW THIS LINE */
15
16#ifdef NO_SSL
17#define SSL void
18#endif
19
20#if defined(__MINGW32__) && defined(USE_POLL)
21#undef USE_POLL
22/* Force select(2) for Windows */
23#endif
24
25#if defined(__MINGW32__) && defined(HAS_CHROOT)
26#undef HAS_CHROOT
27/* Windows should not have chroot */
28#endif
29
30#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_IPV6)
31#define NO_IPV6
32/* PSP/PS2/PS3 does not have IPv6 */
33#endif
34
35#if (defined(_PSP) || defined(__ps2sdk__)) && defined(USE_POLL)
36#undef USE_POLL
37/* Force select(2) for PSP/PS2 */
38#endif
39
40#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && defined(HAS_CHROOT)
41#undef HAS_CHROOT
42/* PSP/PS2/PS3 should not have chroot */
43#endif
44
45#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_GETADDRINFO)
46#define NO_GETADDRINFO
47/* PSP/PS2/PS3 should not have getaddrinfo */
48#endif
49
50#endif
51
52/*
53vim: syntax=c
54*/
Note: See TracBrowser for help on using the repository browser.