summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-11-15 12:33:35 +0100
committerAnatol Belski <ab@php.net>2017-11-15 12:44:04 +0100
commit0e5d4ea55554872fe72e5d984b73fc21abc561fe (patch)
treeed57a3474356351cdd5c5d8b6428b581115b4484 /ext/pcre/php_pcre.c
parent5b28218cc6114e4bc0e92290cbad7a88ee7c9ddb (diff)
downloadphp-git-0e5d4ea55554872fe72e5d984b73fc21abc561fe.tar.gz
Fix C++ compatibility for TSRM_TLS
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.
Diffstat (limited to 'ext/pcre/php_pcre.c')
0 files changed, 0 insertions, 0 deletions