Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #871645 ยป 0040-Meson-Add-ip_mreqn-check.patch

Marko Lindqvist, 2020-05-02 07:35 AM

View differences:

gen_headers/meson_fc_config.h.in
#mesondefine ALWAYS_ROOT
/* struct ip_mreqn available */
#define HAVE_IP_MREQN 1
#mesondefine HAVE_IP_MREQN
/* arpa/inet.h available */
#mesondefine HAVE_ARPA_INET_H
meson.build
pub_conf_data.set('FREECIV_HAVE_LIBREADLINE', 1)
endif
if c_compiler.compiles('''#include <netinet/in.h>
int main(void) { struct ip_mreqn req; req.imr_ifindex = 0; return 0; }''')
priv_conf_data.set('HAVE_IP_MREQN', 1)
endif
if host_system == 'windows'
pub_conf_data.set('FREECIV_MSWINDOWS', 1)
pub_conf_data.set('FREECIV_HAVE_TINYCTHR', 1)
    (1-1/1)