summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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