mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
use ZSTD_VERSION_NUMBER to check ZSTD version in qbytearray source file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
c44ce33b57
commit
4b6b6863ff
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@
|
|||
#include <zstd_errors.h>
|
||||
|
||||
// ZSTD_getErrorString and ZSTD_getErrorCode are not exported in versions prior to v1.1.3
|
||||
#if !defined(QT_VISIBILITY_AVAILABLE) || (ZSTD_VERSION_MAJOR + ZSTD_VERSION_MINOR + ZSTD_VERSION_RELEASE) >= 5
|
||||
#if !defined(QT_VISIBILITY_AVAILABLE) || (ZSTD_VERSION_NUMBER >= 10103)
|
||||
# define QT_USE_ZSTD_ERROR
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue