]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd 64bit: Re-introduce gai_suspend symbol
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 19 May 2023 18:44:01 +0000 (20:44 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 19 May 2023 18:44:12 +0000 (20:44 +0200)
4d3f846b88d3 ("hurd: Fix __TIMESIZE on x86_64") incidentaly dropped it
because it fixed hurd 64bit into setting __TIMESIZE to 64, and that case
was not having gai_suspend defined yet.

resolv/gai_suspend.c

index 977e8d653db7a17d311d73ee21ec2c13039a701f..dbd0429f01ff40a8fa6253180365ffd8481de632 100644 (file)
@@ -155,6 +155,8 @@ versioned_symbol (libc, ___gai_suspend_time64, gai_suspend, GLIBC_2_34);
 #  if OTHER_SHLIB_COMPAT (libanl, GLIBC_2_2_3, GLIBC_2_34)
 compat_symbol (libanl, ___gai_suspend_time64, gai_suspend, GLIBC_2_2_3);
 #  endif
+# else
+weak_alias (___gai_suspend_time64, gai_suspend)
 # endif /* PTHREAD_IN_LIBC */
 
 #else /* __TIMESIZE != 64 */