aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/api/lzma/lzma.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-01-31 11:01:48 +0200
committerLasse Collin <lasse.collin@tukaani.org>2009-01-31 11:01:48 +0200
commit6a2eb54092fc625d59921a607ff68cd1a90aa898 (patch)
tree83d03f866e998f3576e127196a41b5ff5265c1d4 /src/liblzma/api/lzma/lzma.h
parentUse _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows. (diff)
downloadxz-6a2eb54092fc625d59921a607ff68cd1a90aa898.tar.xz
Add LZMA_API to liblzma API headers. It's useful at least
on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h has to be #included separately where needed.
Diffstat (limited to 'src/liblzma/api/lzma/lzma.h')
-rw-r--r--src/liblzma/api/lzma/lzma.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/liblzma/api/lzma/lzma.h b/src/liblzma/api/lzma/lzma.h
index 834bf0b0..f84d87c5 100644
--- a/src/liblzma/api/lzma/lzma.h
+++ b/src/liblzma/api/lzma/lzma.h
@@ -118,7 +118,7 @@ typedef enum {
* could require giving additional options to the encoder that the older
* match finders don't need.
*/
-extern lzma_bool lzma_mf_is_supported(lzma_match_finder match_finder)
+extern LZMA_API lzma_bool lzma_mf_is_supported(lzma_match_finder match_finder)
lzma_attr_const;
@@ -160,7 +160,8 @@ typedef enum {
* mode, which the application developer wasn't aware, could require giving
* additional options to the encoder that the older modes don't need.
*/
-extern lzma_bool lzma_mode_is_supported(lzma_mode mode) lzma_attr_const;
+extern LZMA_API lzma_bool lzma_mode_is_supported(lzma_mode mode)
+ lzma_attr_const;
/**
@@ -406,4 +407,5 @@ typedef struct {
* This function is available only if LZMA1 or LZMA2 encoder has been enabled
* when building liblzma.
*/
-extern lzma_bool lzma_lzma_preset(lzma_options_lzma *options, uint32_t preset);
+extern LZMA_API lzma_bool lzma_lzma_preset(
+ lzma_options_lzma *options, uint32_t preset);