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

Last change on this file since 266 was 266, checked in by Nishi, on Oct 5, 2024 at 6:08:11 PM

fix config.h.tmpl [forcerebuild

  • Property svn:keywords set to Id
File size: 1.8 KB
RevLine 
[43]1/* $Id: config.h.tmpl 266 2024-10-05 09:08:11Z nishi $ */
2
3#ifndef __CONFIG_H__
4#define __CONFIG_H__
5
[128]6#define SERVER_ADMIN "webmaster@domain"
7
[173]8#undef NO_IPV6
[50]9#undef NO_SSL
[118]10#define USE_POLL
[156]11#define HAS_CHROOT
[255]12#undef NO_GETNAMEINFO
[240]13#undef USE_WINSOCK1
[244]14#undef BUILD_GUI
[43]15
16/* DO NOT EDIT BELOW THIS LINE */
17
18#ifdef NO_SSL
19#define SSL void
20#endif
21
[266]22#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(BUILD_GUI)
[253]23#define BUILD_GUI_VALID
24#endif
25
26#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(USE_POLL)
[118]27#undef USE_POLL
28/* Force select(2) for Windows */
[43]29#endif
[244]30
[255]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 */
[240]34#endif
[79]35
[219]36#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(HAS_CHROOT)
[156]37#undef HAS_CHROOT
38/* Windows should not have chroot */
[118]39#endif
40
[255]41#if (defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && !defined(NO_GETNAMEINFO)
42#define NO_GETNAMEINFO
43/* Do not use getnameinfo */
[212]44#endif
45
[189]46#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_IPV6)
[182]47#define NO_IPV6
[189]48/* PSP/PS2/PS3 does not have IPv6 */
[156]49#endif
50
[189]51#if (defined(_PSP) || defined(__ps2sdk__)) && defined(USE_POLL)
[182]52#undef USE_POLL
[189]53/* Force select(2) for PSP/PS2 */
[182]54#endif
55
[189]56#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && defined(HAS_CHROOT)
[182]57#undef HAS_CHROOT
[189]58/* PSP/PS2/PS3 should not have chroot */
[182]59#endif
60
[255]61#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_GETNAMEINFO)
62#define NO_GETNAMEINFO
63/* PSP/PS2/PS3 should not have getnameinfo */
[182]64#endif
65
66#endif
67
[79]68/*
69vim: syntax=c
70*/
Note: See TracBrowser for help on using the repository browser.