This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]