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

(cherry picked from commit 846fc8fe09)
This commit is contained in:
glx22
2019-06-03 00:18:28 +02:00
committed by Jonathan G Rennison
parent eb6cd6cf5f
commit 49f3592ac9

View File

@@ -227,6 +227,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