diff options
author | Andrey Hristov <andrey@php.net> | 1999-07-20 20:57:04 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 1999-07-20 20:57:04 +0000 |
commit | 6b82192bf760248d2dd4d285ee7ec5eb90525e76 (patch) | |
tree | f43e1f78349b267c3b70c208f2918914d011aca4 /ext/pcre/php_pcre.h | |
parent | 72f675be5005f09c048155b85b5d6efd7341f6e0 (diff) | |
download | php-git-6b82192bf760248d2dd4d285ee7ec5eb90525e76.tar.gz |
Added locale support.
Diffstat (limited to 'ext/pcre/php_pcre.h')
-rw-r--r-- | ext/pcre/php_pcre.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/pcre/php_pcre.h b/ext/pcre/php_pcre.h index a367da3bd4..c7f9043b05 100644 --- a/ext/pcre/php_pcre.h +++ b/ext/pcre/php_pcre.h @@ -35,6 +35,9 @@ #if HAVE_PCRE #include "pcrelib/pcre.h" +#if HAVE_LOCALE_H +#include <locale.h> +#endif extern void php_info_pcre(ZEND_MODULE_INFO_FUNC_ARGS); extern int php_minit_pcre(INIT_FUNC_ARGS); @@ -55,6 +58,10 @@ typedef struct { pcre *re; pcre_extra *extra; int preg_options; +#if HAVE_SETLOCALE + char *locale; + unsigned const char *tables; +#endif } pcre_cache_entry; typedef struct { |