Added configure option --with-default-ipv

This commit is contained in:
Gerhard Rieger 2023-10-26 22:16:21 +02:00
parent cb6e16b360
commit 8b2e0593f3
14 changed files with 139 additions and 36 deletions

View file

@ -676,6 +676,15 @@ void socat_version(FILE *fd) {
#else
fputs(" #undef WITH_MSGLEVEL\n", fd);
#endif
#ifdef WITH_DEFAULT_IPV
# if WITH_DEFAULT_IPV
fprintf(fd, " #define WITH_DEFAULT_IPV %c\n", WITH_DEFAULT_IPV);
# else
fprintf(fd, " #define WITH_DEFAULT_IPV '\\0'\n");
# endif
#else
fputs(" #undef WITH_DEFAULT_IPV\n", fd);
#endif
}