diff options
author | Nuno Lopes <nlopess@php.net> | 2008-01-13 12:48:00 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2008-01-13 12:48:00 +0000 |
commit | 5da2171f41bd940379a9fca194404e77a0f10f2b (patch) | |
tree | 97fe5903964c3190e66292404b18824f4d2488d9 /ext/pcre/pcrelib/pcre_config.c | |
parent | f9066b0e497e8a4731977c52d08251304c69b41e (diff) | |
download | php-git-5da2171f41bd940379a9fca194404e77a0f10f2b.tar.gz |
upgrade to PCRE 7.5
Diffstat (limited to 'ext/pcre/pcrelib/pcre_config.c')
-rw-r--r-- | ext/pcre/pcrelib/pcre_config.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ext/pcre/pcrelib/pcre_config.c b/ext/pcre/pcrelib/pcre_config.c index 700a5d2918..667c4f1b52 100644 --- a/ext/pcre/pcrelib/pcre_config.c +++ b/ext/pcre/pcrelib/pcre_config.c @@ -41,7 +41,7 @@ POSSIBILITY OF SUCH DAMAGE. /* This module contains the external function pcre_config(). */ -#include <config.h> +#include "config.h" #include "pcre_internal.h" @@ -85,6 +85,14 @@ switch (what) *((int *)where) = NEWLINE; break; + case PCRE_CONFIG_BSR: +#ifdef BSR_ANYCRLF + *((int *)where) = 1; +#else + *((int *)where) = 0; +#endif + break; + case PCRE_CONFIG_LINK_SIZE: *((int *)where) = LINK_SIZE; break; |