aboutsummaryrefslogtreecommitdiff
path: root/ports/liblzma/auto-define-lzma-api-static.patch
blob: d897e24572feae4a56b6aa09c5680ff11f397260 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/lzma.h b/lzma.h
index ce675a7..ac0fc98 100644
--- a/lzma.h
+++ b/lzma.h
@@ -187,6 +187,9 @@
  * need to worry about LZMA_API_STATIC. Also the calling convention is
  * omitted on Cygwin but not on MinGW.
  */
+ 
+#define LZMA_API_STATIC
+ 
 #ifndef LZMA_API_IMPORT
 #	if !defined(LZMA_API_STATIC) && defined(_WIN32) && !defined(__GNUC__)
 #		define LZMA_API_IMPORT __declspec(dllimport)