summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Wallner <mike@php.net>2005-12-01 20:53:04 +0000
committerMichael Wallner <mike@php.net>2005-12-01 20:53:04 +0000
commit4323354ee008913792b1a05cfbaa30a8cfd1c8a3 (patch)
treea4e06dbba7c60049ee410cfb27b99e8bf50ced4b
parent37eeba6f27f803fc6955c82a1099f924ba6d364e (diff)
downloadphp-git-4323354ee008913792b1a05cfbaa30a8cfd1c8a3.tar.gz
- use php_pcre aliases
-rw-r--r--ext/pcre/config.w322
-rw-r--r--ext/pcre/php_pcre.def3
2 files changed, 4 insertions, 1 deletions
diff --git a/ext/pcre/config.w32 b/ext/pcre/config.w32
index ff8c5b720d..fb56e1981e 100644
--- a/ext/pcre/config.w32
+++ b/ext/pcre/config.w32
@@ -7,7 +7,7 @@ if (PHP_PCRE_REGEX == "yes") {
EXTENSION("pcre", "php_pcre.c", PHP_PCRE_REGEX_SHARED,
"-DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000 -Iext/pcre/pcrelib -DNO_RECURSE");
ADD_SOURCES("ext/pcre/pcrelib", "pcre_chartables.c pcre_compile.c pcre_config.c pcre_dfa_exec.c pcre_exec.c pcre_fullinfo.c pcre_get.c pcre_globals.c pcre_info.c pcre_maketables.c pcre_ord2utf8.c pcre_printint.c pcre_refcount.c pcre_study.c pcre_tables.c pcre_try_flipped.c pcre_ucp_findchar.c pcre_valid_utf8.c pcre_version.c pcre_xclass.c", "pcre");
- ADD_DEF_FILE("ext\\pcre\\pcrelib\\libpcre.def");
+ ADD_DEF_FILE("ext\\pcre\\php_pcre.def");
AC_DEFINE('HAVE_BUNDLED_PCRE', 1, 'Using bundled PCRE library');
AC_DEFINE('HAVE_PCRE', 1, 'Have PCRE library');
diff --git a/ext/pcre/php_pcre.def b/ext/pcre/php_pcre.def
new file mode 100644
index 0000000000..d0dcc0919b
--- /dev/null
+++ b/ext/pcre/php_pcre.def
@@ -0,0 +1,3 @@
+EXPORTS
+php_pcre_compile
+php_pcre_exec