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:
Brad King
2021-10-14 05:53:03 -04:00
parent ee98d9378f
commit ddced0c6b6

View File

@@ -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