mirror of
https://github.com/php/php-src.git
synced 2026-04-23 16:08:35 +02:00
0e5d4ea555
If a C++11 source is compiled, thread_local is preferred. Furthermore, at least GCC treats __thread vs. thread_local a different way and under certain circumstances would refuse to compile __thread is a C++11 source. This change is far behind in time, any up-to-date compiler supports C++11 and otherwise it won't take effect on lower versions.