diff options
author | Yann Ylavic <ylavic@apache.org> | 2022-07-15 13:49:30 +0200 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2022-07-15 13:49:30 +0200 |
commit | c89c1bf3949be5aed13d58e10261c402693cbb0c (patch) | |
tree | 8bf76d211c4204986b85b3dfcd9d624873dac078 /server/util_pcre.c | |
parent | util_pcre: Restore nmatch < ncaps behaviour with PCRE1 (only). (diff) | |
download | apache2-c89c1bf3949be5aed13d58e10261c402693cbb0c.tar.xz apache2-c89c1bf3949be5aed13d58e10261c402693cbb0c.zip |
util: Follow up to r1902728 and r1902731: static/AP_THREAD_LOCAL order matters.
gcc seems to want "static __thread" instead of "__thread static"..
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1902733 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/util_pcre.c')
-rw-r--r-- | server/util_pcre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/util_pcre.c b/server/util_pcre.c index e3ee455837..21f455ca75 100644 --- a/server/util_pcre.c +++ b/server/util_pcre.c @@ -301,7 +301,7 @@ struct match_thread_state { apr_pool_t *pool; }; -AP_THREAD_LOCAL static struct match_thread_state *thread_state; +static AP_THREAD_LOCAL struct match_thread_state *thread_state; #endif struct match_data_state { |