From c802d497a4feb13f995de2c4d815b7bcb8db36c9 Mon Sep 17 00:00:00 2001 From: Nishi Date: Tue, 8 Oct 2024 10:49:19 +0000 Subject: [PATCH] update config.h.tmpl git-svn-id: file:///raid/svn-personal/tewi/trunk@273 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Server/tw_ssl.h | 4 ++++ config.h.tmpl | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/Server/tw_ssl.h b/Server/tw_ssl.h index 59ca476..6ccd6fa 100644 --- a/Server/tw_ssl.h +++ b/Server/tw_ssl.h @@ -10,6 +10,10 @@ extern "C" { #include #include +#ifndef __UINTPTR_TYPE__ +#define __UINTPTR_TYPE__ uintptr_t +#endif + SSL_CTX* tw_create_ssl_ctx(__UINTPTR_TYPE__ port); #ifdef __cplusplus diff --git a/config.h.tmpl b/config.h.tmpl index 018228f..aefe7cd 100644 --- a/config.h.tmpl +++ b/config.h.tmpl @@ -63,6 +63,11 @@ /* PSP/PS2/PS3 should not have getnameinfo */ #endif +#if (defined(__minix)) && !defined(NO_IPV6) +#define NO_IPV6 +/* Minix does not have IPv6 */ +#endif + #endif /* -- 2.45.2