aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2024-05-16 13:00:19 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2024-05-16 13:00:19 +0200
commit98c58ead50376094ec55111dddba4522541b4f75 (patch)
tree38c8882b8ed063e1f6de966c4553af96a6162368
parent2ece46f5beef2c03c53ff67e597701054468b7bc (diff)
downloadgnunet-98c58ead50376094ec55111dddba4522541b4f75.tar.gz
gnunet-98c58ead50376094ec55111dddba4522541b4f75.zip
UTIL: Properly detect getaddrinfo in meson. Issue #8852
-rw-r--r--meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 3547d9cfa..16df0524e 100644
--- a/meson.build
+++ b/meson.build
@@ -431,6 +431,9 @@ endif
431if cc.has_function('explicit_bzero') 431if cc.has_function('explicit_bzero')
432 cdata.set('HAVE_EXPLICIT_BZERO', 1) 432 cdata.set('HAVE_EXPLICIT_BZERO', 1)
433endif 433endif
434if cc.has_function('getaddrinfo')
435 cdata.set('HAVE_GETADDRINFO', 1)
436endif
434if cc.has_function('gethostbyname') 437if cc.has_function('gethostbyname')
435 cdata.set('HAVE_GETHOSTBYNAME', 1) 438 cdata.set('HAVE_GETHOSTBYNAME', 1)
436endif 439endif