From ddced0c6b6e6d0e2f1bbbcc6daf6cb5a42cee9bc Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 14 Oct 2021 05:53:03 -0400 Subject: zstd: Fix trace compilation on AIX Since zstd commit `6cee3c2c` ([trace] Remove default definitions of weak symbols, 2021-04-26, v1.5.0^2~53^2), the weak symbol trace implementation does not compile on AIX. Disable it. --- Utilities/cmzstd/lib/common/zstd_trace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/cmzstd/lib/common/zstd_trace.h b/Utilities/cmzstd/lib/common/zstd_trace.h index 2da5640..485cadf 100644 --- a/Utilities/cmzstd/lib/common/zstd_trace.h +++ b/Utilities/cmzstd/lib/common/zstd_trace.h @@ -20,7 +20,7 @@ extern "C" { /* weak symbol support */ #if !defined(ZSTD_HAVE_WEAK_SYMBOLS) && defined(__GNUC__) && \ !defined(__APPLE__) && !defined(_WIN32) && !defined(__MINGW32__) && \ - !defined(__CYGWIN__) + !defined(__CYGWIN__) && !defined(_AIX) # define ZSTD_HAVE_WEAK_SYMBOLS 1 #else # define ZSTD_HAVE_WEAK_SYMBOLS 0 -- cgit v0.12