[gnutls-devel] GnuTLS | Tmp fix gcc4.4 (!996)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue May 14 21:06:19 CEST 2019




Nikos Mavrogiannopoulos started a new discussion on lib/gthreads.h: https://gitlab.com/gnutls/gnutls/merge_requests/996#note_170189097

>  
>  #include <config.h>
>  
> -#ifdef HAVE_THREADS_H
> +/* Using a C99-only compiler installed in parallel with modern C11 environment
> + * will see HAVE_THREADS_H, but won't be able to use _Thread_local. */
> +#if __STDC_VERSION__ >= 201112 && !defined __STDC_NO_THREADS__ && defined HAVE_THREADS_H

I'd use parenthesis in the defined macros for consistency with the rest of the clauses

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/996#note_170189097
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/20190514/cf041370/attachment.html>


More information about the Gnutls-devel mailing list