diff options
author | Anatol Belski <ab@php.net> | 2013-03-03 19:06:22 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2013-03-03 19:06:22 +0100 |
commit | 357ab3cbada57374075ccf57c9ec25bbbbcb6948 (patch) | |
tree | f8c61f2068629b070bf82ada4ad2b2adc44516ba /ext/pcre/pcrelib/pcre_refcount.c | |
parent | c134f2a1a5ef56da72dbdc1096eddc91e4f5939e (diff) | |
download | php-git-357ab3cbada57374075ccf57c9ec25bbbbcb6948.tar.gz |
merged PCRE 8.32
- defined HAVE_CONFIG_H to simplify the future merges
- PCRE NEWS http://pcre.org/news.txt
Diffstat (limited to 'ext/pcre/pcrelib/pcre_refcount.c')
-rw-r--r-- | ext/pcre/pcrelib/pcre_refcount.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ext/pcre/pcrelib/pcre_refcount.c b/ext/pcre/pcrelib/pcre_refcount.c index ec16713f0b..79efa90f21 100644 --- a/ext/pcre/pcrelib/pcre_refcount.c +++ b/ext/pcre/pcrelib/pcre_refcount.c @@ -44,7 +44,9 @@ pattern data block. This might be helpful in applications where the block is shared by different users. */ +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include "pcre_internal.h" @@ -66,12 +68,15 @@ Returns: the (possibly updated) count value (a non-negative number), or a negative error number */ -#ifdef COMPILE_PCRE8 +#if defined COMPILE_PCRE8 PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre_refcount(pcre *argument_re, int adjust) -#else +#elif defined COMPILE_PCRE16 PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre16_refcount(pcre16 *argument_re, int adjust) +#elif defined COMPILE_PCRE32 +PCRE_EXP_DEFN int PCRE_CALL_CONVENTION +pcre32_refcount(pcre32 *argument_re, int adjust) #endif { REAL_PCRE *re = (REAL_PCRE *)argument_re; |