Fix: vcpkg used to patch lzma.h to define LZMA_API_STATIC for static builds (#7614)

This commit is contained in:
glx22 2019-06-03 00:18:28 +02:00 committed by GitHub
parent ef74af6766
commit 846fc8fe09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -231,6 +231,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_LIBLZMA)
# if !defined(LZMA_API_STATIC)
# define LZMA_API_STATIC
# endif
# endif
#define strcasecmp stricmp