summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-12-19 18:00:16 +0300
committerDmitry Stogov <dmitry@zend.com>2014-12-19 18:00:16 +0300
commit4514ba016ff158cd113deef1a215fcdcb6913b48 (patch)
treee6620ce3b55ae6bfcbfbc3386ef39e013b0487bd /ext/pcre/php_pcre.h
parent92655be7cf10f7551ee1a1ae7ea0f1bdcfa2ca6b (diff)
downloadphp-git-4514ba016ff158cd113deef1a215fcdcb6913b48.tar.gz
Improved setlocale(). Eliminated locale comparison in ext/pcre if it's not necessary.
Diffstat (limited to 'ext/pcre/php_pcre.h')
-rw-r--r--ext/pcre/php_pcre.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.h b/ext/pcre/php_pcre.h
index 86f13e3447..ff1b2267e8 100644
--- a/ext/pcre/php_pcre.h
+++ b/ext/pcre/php_pcre.h
@@ -47,7 +47,7 @@ typedef struct {
int capture_count;
int name_count;
#if HAVE_SETLOCALE
- char *locale;
+ zend_string *locale;
unsigned const char *tables;
#endif
int compile_options;