[gnutls-devel] GnuTLS | Detect the availability of connectx at runtime (!1294)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Jul 2 13:51:55 CEST 2020



Merge request https://gitlab.com/gnutls/gnutls/-/merge_requests/1294 was reviewed by Steve Lhomme

--
  
Steve Lhomme commented on a discussion on configure.ac: https://gitlab.com/gnutls/gnutls/-/merge_requests/1294#note_372427882

> +#include <stdlib.h>
> +  ]],[[
> +    if (__builtin_available(macOS 10.8, iOS 5.0, *)) {}

`__has_builtin` was [introduced in Clang 8](https://releases.llvm.org/8.0.0/tools/clang/docs/LanguageExtensions.html) (and apparently gcc 6).
It depends on what minimum version gnutls supports. But it seems that it would work (in my case at least).


-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1294
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200702/de94fda7/attachment.html>


More information about the Gnutls-devel mailing list