]> granicus.if.org Git - php/commitdiff
Export symbols needed by bz2_filter
authorSara Golemon <pollita@php.net>
Tue, 13 Apr 2004 17:54:47 +0000 (17:54 +0000)
committerSara Golemon <pollita@php.net>
Tue, 13 Apr 2004 17:54:47 +0000 (17:54 +0000)
ext/bz2/config.w32
ext/bz2/php_bz2.def [new file with mode: 0644]

index 7fe9c555bf9476a4acf20e8aa81eb5a917e230d6..e40b44cfa4857375f6ece1caa3a1a001311e5b31 100644 (file)
@@ -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 (file)
index 0000000..8313553
--- /dev/null
@@ -0,0 +1,7 @@
+EXPORTS
+       BZ2_bzCompressInit
+       BZ2_bzCompress
+       BZ2_bzCompressEnd
+       BZ2_bzDecompressInit
+       BZ2_bzDecompress
+       BZ2_bzDecompressEnd