summaryrefslogtreecommitdiff
path: root/ext/bz2
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2004-04-13 17:54:47 +0000
committerSara Golemon <pollita@php.net>2004-04-13 17:54:47 +0000
commita7ba08a0bdb1b7de6a5f1f44ae3d243ea8cedb64 (patch)
tree3672cb4cf466a3973944e13b1be498b06b371120 /ext/bz2
parentd16ad34368b2c17df9d4644101e3600bad408434 (diff)
downloadphp-git-a7ba08a0bdb1b7de6a5f1f44ae3d243ea8cedb64.tar.gz
Export symbols needed by bz2_filter
Diffstat (limited to 'ext/bz2')
-rw-r--r--ext/bz2/config.w321
-rw-r--r--ext/bz2/php_bz2.def7
2 files changed, 8 insertions, 0 deletions
diff --git a/ext/bz2/config.w32 b/ext/bz2/config.w32
index 7fe9c555bf..e40b44cfa4 100644
--- a/ext/bz2/config.w32
+++ b/ext/bz2/config.w32
@@ -11,6 +11,7 @@ if (PHP_BZ2 != "no") {
// BZ2 extension does this slightly differently from others
if (PHP_BZ2_SHARED) {
ADD_FLAG("CFLAGS_BZ2", "/D PHP_BZ2_EXPORTS ");
+ ADD_DEF_FILE("ext\\bz2\\php_bz2.def");
}
} else {
WARNING("bz2 not enabled; libraries and headers not found");
diff --git a/ext/bz2/php_bz2.def b/ext/bz2/php_bz2.def
new file mode 100644
index 0000000000..831355344a
--- /dev/null
+++ b/ext/bz2/php_bz2.def
@@ -0,0 +1,7 @@
+EXPORTS
+ BZ2_bzCompressInit
+ BZ2_bzCompress
+ BZ2_bzCompressEnd
+ BZ2_bzDecompressInit
+ BZ2_bzDecompress
+ BZ2_bzDecompressEnd