mirror of https://github.com/OpenTTD/OpenTTD.git
Fix: vcpkg used to patch lzma.h to define LZMA_API_STATIC for static builds (#7614)
This commit is contained in:
parent
ef74af6766
commit
846fc8fe09
|
@ -231,6 +231,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_LIBLZMA)
|
||||||
|
# if !defined(LZMA_API_STATIC)
|
||||||
|
# define LZMA_API_STATIC
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#define strcasecmp stricmp
|
#define strcasecmp stricmp
|
||||||
|
|
Loading…
Reference in New Issue