From 6b82192bf760248d2dd4d285ee7ec5eb90525e76 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Tue, 20 Jul 1999 20:57:04 +0000 Subject: Added locale support. --- ext/pcre/php_pcre.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ext/pcre/php_pcre.h') 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 +#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 { -- cgit v1.2.1