Skip to content

Commit

Permalink
inflate_lzma: add LZMA_API_STATIC define
Browse files Browse the repository at this point in the history
According to https://github.com/kobolabs/liblzma/blob/master/windows/README-Windows.txt
it is required for static windows builds.
  • Loading branch information
bkueng committed Apr 25, 2024
1 parent f9bd1da commit 8cd8a6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mavsdk/core/inflate_lzma.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <cstdio>
#include <cstring>
#include <cerrno>
#define LZMA_API_STATIC
#include <lzma.h>

// The following code is from the liblzma example:
Expand Down

0 comments on commit 8cd8a6e

Please sign in to comment.