mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-30 20:21:14 +00:00
[loader] external zbic + code tweaks + ci workarounds
This commit is contained in:
@@ -151,7 +151,7 @@ add_library(
|
|||||||
|
|
||||||
set_source_files_properties(zbic_compression.cpp PROPERTIES
|
set_source_files_properties(zbic_compression.cpp PROPERTIES
|
||||||
INCLUDE_DIRECTORIES "${ZBIC_INCLUDE_DIR}"
|
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)
|
if(WIN32)
|
||||||
target_sources(common PRIVATE windows/timer_resolution.cpp
|
target_sources(common PRIVATE windows/timer_resolution.cpp
|
||||||
|
|||||||
@@ -12,8 +12,14 @@
|
|||||||
#define ZSTDERRORLIB_HIDDEN static
|
#define ZSTDERRORLIB_HIDDEN static
|
||||||
#undef ZSTD_MULTITHREAD
|
#undef ZSTD_MULTITHREAD
|
||||||
|
|
||||||
|
#if defined(__ANDROID__)
|
||||||
|
#undef _GNU_SOURCE
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "zstd.h"
|
#include "zstd.h"
|
||||||
|
#define g_ZSTD_threading_useless_symbol g_ZSTD_zbic_threading_useless_symbol
|
||||||
#include "zstd.c"
|
#include "zstd.c"
|
||||||
|
#undef g_ZSTD_threading_useless_symbol
|
||||||
|
|
||||||
namespace Common::Compression {
|
namespace Common::Compression {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user