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

Last change on this file since 172 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
Line 
1/* $Id: config.h.tmpl 163 2024-09-26 00:33:22Z nishi $ */
2
3#ifndef __CONFIG_H__
4#define __CONFIG_H__
5
6#define SERVER_ADMIN "webmaster@domain"
7
8#undef NO_SSL
9#define USE_POLL
10#define HAS_CHROOT
11#undef NO_GETADDRINFO
12
13/* DO NOT EDIT BELOW THIS LINE */
14
15#ifdef NO_SSL
16#define SSL void
17#endif
18
19#if defined(__MINGW32__) && defined(USE_POLL)
20#undef USE_POLL
21/* Force select(2) for Windows */
22#endif
23
24#if defined(__MINGW32__) && defined(HAS_CHROOT)
25#undef HAS_CHROOT
26/* Windows should not have chroot */
27#endif
28
29#endif
30
31/*
32vim: syntax=c
33*/
Note: See TracBrowser for help on using the repository browser.