[loader] external zbic + code tweaks

This commit is contained in:
xbzk
2026-09-26 11:06:52 -03:00
parent 79d1927d63
commit 9cbba04c65
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ add_library(
set_source_files_properties(zbic_compression.cpp PROPERTIES
INCLUDE_DIRECTORIES "${ZBIC_INCLUDE_DIR}"
COMPILE_OPTIONS "$<$<CXX_COMPILER_ID:Clang,GNU>:-Wno-unused-function>")
COMPILE_OPTIONS "$<$<CXX_COMPILER_ID:Clang,GNU>:-Wno-unused-function;-Wno-missing-declarations;-Wno-shadow>")
if(WIN32)
target_sources(common PRIVATE windows/timer_resolution.cpp
+4
View File
@@ -12,6 +12,10 @@
#define ZSTDERRORLIB_HIDDEN static
#undef ZSTD_MULTITHREAD
#if defined(__ANDROID__)
#undef _GNU_SOURCE
#endif
#include "zstd.h"
#include "zstd.c"