This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
conditional use of __thread
- From: Arnaud Charlet <charlet at ACT-Europe dot FR>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 25 Jul 2004 11:41:00 +0200
- Subject: conditional use of __thread
In a GNAT C run time file, I'd like to make use of the __thread keyword
when it is supported by GCC.
So far, I couldn't find a way (macro ?) to know in a run time (non
compiler) file whether __thread was supported or not.
Is there such a way ? If not, what would be a reasonable way to add this
info ?
Thanks in advance,
Arno