[SjLj] Don't use __declspec(thread) in MinGW mode

GCC and Clang in MinGW mode don't support __declspec(thread), which
after expanding macros ends up as __attribute__((thread)). Use the
GCC specific attribute __thread instead (the next one in the chain
of alternatives).

Differential Revision: https://reviews.llvm.org/D56905

git-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@351587 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed