From a7ba08a0bdb1b7de6a5f1f44ae3d243ea8cedb64 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Tue, 13 Apr 2004 17:54:47 +0000 Subject: [PATCH] Export symbols needed by bz2_filter --- ext/bz2/config.w32 | 1 + ext/bz2/php_bz2.def | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 ext/bz2/php_bz2.def 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 -- 2.50.1