diff --git a/src/stdafx.h b/src/stdafx.h index cb8b1bf242..cb92d97faa 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -257,6 +257,13 @@ # if !defined(FT_EXPORT) # define FT_EXPORT( x ) extern "C" x CDECL # endif +# endif + + /* liblzma from vcpkg (before 5.2.4-2) used to patch lzma.h to define LZMA_API_STATIC for static builds */ +# if defined(WITH_LZMA) +# if !defined(LZMA_API_STATIC) +# define LZMA_API_STATIC +# endif # endif #define strcasecmp stricmp