disable compiling with ipv6 support

see commit before
This commit is contained in:
Alug committed 2025-03-31 08:27:43 +02:00
1 parent cef448ca23
commit efd7cd155e
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@
#endif // __OS2__
#ifndef NO_IPV6
#define HAVE_IPV6
//#define HAVE_IPV6
#endif
#ifdef _WIN32
+4 -1
View File
@@ -30,8 +30,11 @@ typedef union
typedef struct
{
msg_header_t header;
#ifndef HAVE_IPV6
char ip[16];
//char ip[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"];
#else
char ip[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"];
#endif
char port[8];
char contact[32];
char version[8]; // format is: x.yy.z (like 1.30.2 or 1.31)