Re: [PATCH] w32: Use __declspec(thread) for FIPS thread context TLS

Werner Koch via Gcrypt-devel <[email protected]> Mon, 08 Dec 2025 18:52:47 +0100
Newsgroups gmane.comp.encryption.gpg.libgcrypt.devel
Message-ID <[email protected]>
On Mon,  8 Dec 2025 17:17, Knugi said:
> * src/fips.c: Use __declspec(thread) for MinGW32 thread-local context.

Why do you need this?  We are building Windows versions using mingw just
fine with the __thread attribute.


Shalom-Salam,

   Werner

-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein

_______________________________________________
Gcrypt-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gcrypt-devel
openpgp-digital-signature.asc (application/pgp-signature, 284 B)
-----BEGIN PGP SIGNATURE-----

iJ8EARYKAEcWIQSHd0YfKgdOvEgNNZQZzByeCFsQegUCaTcQbxsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMSwyLDINHHdrQGdudXBnLm9yZwAKCRAZzByeCFsQeoEoAQCv
NPzUTxAv0Vzsv8Y6PTVk0TfpZ5Iodk/fTEn+3Q52uwD/bOanh/57KZFKEKw3Ozmv
BbROAq2a1ez6F85PR2xR+gM=
=nflo
-----END PGP SIGNATURE-----