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

Werner Koch wk at gnupg.org
Mon Dec 8 18:52:47 CET 2025


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 284 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20251208/70eab873/attachment.sig>


More information about the Gcrypt-devel mailing list