aboutsummaryrefslogtreecommitdiff
path: root/ports/bzip2/auto-define-import-macro.patch
diff options
context:
space:
mode:
authorcodicodi <rob.ceglinski@gmail.com>2017-01-02 01:31:42 +0100
committerGitHub <noreply@github.com>2017-01-02 01:31:42 +0100
commit044c07ece1aa0e3e46e0c059cb5877b1bc18c76c (patch)
treefdaa68387fd7b8b72bf6ab729668f713affadcf9 /ports/bzip2/auto-define-import-macro.patch
parent31daeeb7f585d0b64de78e31b4e0de8be8b5d213 (diff)
downloadvcpkg-044c07ece1aa0e3e46e0c059cb5877b1bc18c76c.tar.gz
vcpkg-044c07ece1aa0e3e46e0c059cb5877b1bc18c76c.zip
add bzip2
Diffstat (limited to 'ports/bzip2/auto-define-import-macro.patch')
-rw-r--r--ports/bzip2/auto-define-import-macro.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/bzip2/auto-define-import-macro.patch b/ports/bzip2/auto-define-import-macro.patch
new file mode 100644
index 000000000..81492d3a5
--- /dev/null
+++ b/ports/bzip2/auto-define-import-macro.patch
@@ -0,0 +1,13 @@
+diff --git a/bzlib.h b/bzlib.h
+index e3ba1d6..d3bed44 100644
+--- a/bzlib.h
++++ b/bzlib.h
+@@ -26,6 +26,8 @@
+ extern "C" {
+ #endif
+
++#define BZ_IMPORT
++
+ #define BZ_RUN 0
+ #define BZ_FLUSH 1
+ #define BZ_FINISH 2