Subversion Repositories Tewi

Rev

Rev 173 | Rev 187 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

/* $Id: config.h.tmpl 182 2024-09-27 12:55:12Z nishi $ */

#ifndef __CONFIG_H__
#define __CONFIG_H__

#define SERVER_ADMIN "webmaster@domain"

#undef NO_IPV6
#undef NO_SSL
#define USE_POLL
#define HAS_CHROOT
#undef NO_GETADDRINFO

/* DO NOT EDIT BELOW THIS LINE */

#ifdef NO_SSL
#define SSL void
#endif

#if defined(__MINGW32__) && defined(USE_POLL)
#undef USE_POLL
/* Force select(2) for Windows */
#endif

#if defined(__MINGW32__) && defined(HAS_CHROOT)
#undef HAS_CHROOT
/* Windows should not have chroot */
#endif

#if defined(_PSP) && !defined(NO_IPV6)
#define NO_IPV6
/* PSP does not have IPv6 */
#endif

#if defined(_PSP) && defined(USE_POLL)
#undef USE_POLL
/* Force select(2) for PSP */
#endif

#if defined(_PSP) && defined(HAS_CHROOT)
#undef HAS_CHROOT
/* PSP should not have chroot */
#endif

#if defined(_PSP) && !defined(NO_GETADDRINFO)
#define NO_GETADDRINFO
/* PSP should not have getaddrinfo */
#endif

#endif

/*
vim: syntax=c
*/