diff options
author | Yann Collet <cyan@fb.com> | 2020-08-11 01:17:09 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2020-08-11 01:17:09 (GMT) |
commit | f328e329b3cec38ec8316d454279b79d19c36fdd (patch) | |
tree | b96581c2978777c758206df84d919e206defb3bf | |
parent | ac65f939cd0351f2f591cbde021969426ddeb6ca (diff) | |
parent | 28e5a4e0542820e81f8372c1a405310e9757cd7e (diff) | |
download | lz4-f328e329b3cec38ec8316d454279b79d19c36fdd.zip lz4-f328e329b3cec38ec8316d454279b79d19c36fdd.tar.gz lz4-f328e329b3cec38ec8316d454279b79d19c36fdd.tar.bz2 |
Merge branch 'fix832' into dev
-rw-r--r-- | lib/lz4.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -670,9 +670,9 @@ union LZ4_streamDecode_u { # define LZ4_DEPRECATED(message) [[deprecated(message)]] # elif defined(_MSC_VER) # define LZ4_DEPRECATED(message) __declspec(deprecated(message)) -# elif defined(__clang__) || (defined(__GNUC__) && (__GNUC__ >= 4) && (__GNUC_MINOR__ >= 5)) +# elif defined(__clang__) || (defined(__GNUC__) && (__GNUC__ * 10 + __GNUC_MINOR__ >= 45)) # define LZ4_DEPRECATED(message) __attribute__((deprecated(message))) -# elif defined(__GNUC__) && (__GNUC__ >= 3) && (__GNUC_MINOR__ >= 1) +# elif defined(__GNUC__) && (__GNUC__ * 10 + __GNUC_MINOR__ >= 31) # define LZ4_DEPRECATED(message) __attribute__((deprecated)) # else # pragma message("WARNING: LZ4_DEPRECATED needs custom implementation for this compiler") |