mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 20:00:38 -06:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user