]> Git repositories of Nishi - tewi.git/commitdiff
update config.h.tmpl
authorNishi <nishi@nishi.boats>
Tue, 8 Oct 2024 10:49:19 +0000 (10:49 +0000)
committerNishi <nishi@nishi.boats>
Tue, 8 Oct 2024 10:49:19 +0000 (10:49 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@273 8739d7e6-ffea-ec47-b151-bdff447c6205

Server/tw_ssl.h
config.h.tmpl

index 59ca476691cbb3d7f82e1de56e434fa9c9bd6599..6ccd6fa0469763f53e3b6cb502247359e24afa1e 100644 (file)
@@ -10,6 +10,10 @@ extern "C" {
 #include <openssl/ssl.h>
 #include <stdint.h>
 
+#ifndef __UINTPTR_TYPE__
+#define __UINTPTR_TYPE__ uintptr_t
+#endif
+
 SSL_CTX* tw_create_ssl_ctx(__UINTPTR_TYPE__ port);
 
 #ifdef __cplusplus
index 018228f24287bef2acb51dee0b4900bbfe4ace90..aefe7cd0992a2a606613ad1016096e78495dc2bd 100644 (file)
 /* PSP/PS2/PS3 should not have getnameinfo */
 #endif
 
+#if (defined(__minix)) && !defined(NO_IPV6)
+#define NO_IPV6
+/* Minix does not have IPv6 */
+#endif
+
 #endif
 
 /*