Did minetest have any ifdefs to build _without_ ipv6 ?

Post Reply
kas1e
New member
Posts: 1
Joined: Thu Jan 07, 2021 19:20
GitHub: kas1e

Did minetest have any ifdefs to build _without_ ipv6 ?

by kas1e » Post

@All

Tried to build minetest on some exotic platform that has no ipv6 support, but only ipv4. And so the question is: is there are some flags or ifdefs, or so in the code so I can simply disable building with ipv6, or, I need hack-and-slash ipv6 related code from?

Thanks.

User avatar
sfan5
Moderator
Posts: 3962
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

Re: Did minetest have any ifdefs to build _without_ ipv6 ?

by sfan5 » Post

Commenting out the code that deals with IPv6 is probably your best bet.

Alternatively, you can provide dummy definitions for AF_INET6, struct sockaddr_in6 and others. Minetest will only use IPv6 at runtime if you tell it to.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest