Fixed build for Linux and Windows

This commit is contained in:
vpereverzev 2022-05-18 12:59:07 +02:00
parent 1c4509f23c
commit d31aa60f96
2 changed files with 3 additions and 3 deletions

View file

@ -59,8 +59,8 @@ set (MODULE_SRC
${FLAC_SRC}/libFLAC++/metadata.cpp
${FLAC_SRC}/libFLAC++/stream_decoder.cpp
${FLAC_SRC}/libFLAC++/stream_encoder.cpp
$<$<BOOL:${OS_IS_WIN}>:../../include/share/windows_unicode_filenames.h>
$<$<BOOL:${OS_IS_WIN}>:windows_unicode_filenames.c>
$<$<BOOL:${OS_IS_WIN}>:${FLAC_DIR}/include/share/windows_unicode_filenames.h>
$<$<BOOL:${OS_IS_WIN}>:${FLAC_SRC}/libFLAC/windows_unicode_filenames.c>
)
set(MODULE_USE_PCH_NONE ON)

View file

@ -57,7 +57,7 @@
# define SIZE_T_MAX 0xffffffff
# endif
# else
# error
# define SIZE_T_MAX 0xffffffff
# endif
# endif
# define SIZE_MAX SIZE_T_MAX