From: Sara Golemon Date: Tue, 13 Apr 2004 17:54:47 +0000 (+0000) Subject: Export symbols needed by bz2_filter X-Git-Tag: php-5.0.0RC2RC1~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a7ba08a0bdb1b7de6a5f1f44ae3d243ea8cedb64;p=php Export symbols needed by bz2_filter --- 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