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

Last change on this file since 163 was 163, checked in by Nishi, on Sep 26, 2024 at 9:33:22 AM

add an option to disable getaddrinfo

  • Property svn:keywords set to Id
File size: 486 bytes
RevLine 
[43]1/* $Id: config.h.tmpl 163 2024-09-26 00:33:22Z nishi $ */
2
3#ifndef __CONFIG_H__
4#define __CONFIG_H__
5
[128]6#define SERVER_ADMIN "webmaster@domain"
7
[50]8#undef NO_SSL
[118]9#define USE_POLL
[156]10#define HAS_CHROOT
[163]11#undef NO_GETADDRINFO
[43]12
13/* DO NOT EDIT BELOW THIS LINE */
14
15#ifdef NO_SSL
16#define SSL void
17#endif
18
[118]19#if defined(__MINGW32__) && defined(USE_POLL)
20#undef USE_POLL
21/* Force select(2) for Windows */
[43]22#endif
[79]23
[156]24#if defined(__MINGW32__) && defined(HAS_CHROOT)
25#undef HAS_CHROOT
26/* Windows should not have chroot */
[118]27#endif
28
[156]29#endif
30
[79]31/*
32vim: syntax=c
33*/
Note: See TracBrowser for help on using the repository browser.