1
0
Fork 0

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

pull/7676/head
glx22 2019-06-03 00:18:28 +02:00 committed by Michael Lutz
parent 95fd4ec649
commit beba12f9d6
1 changed files with 7 additions and 0 deletions

View File

@ -257,6 +257,13 @@
# if !defined(FT_EXPORT) # if !defined(FT_EXPORT)
# define FT_EXPORT( x ) extern "C" x CDECL # define FT_EXPORT( x ) extern "C" x CDECL
# endif # 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 # endif
#define strcasecmp stricmp #define strcasecmp stricmp