diff options
author | Yann Collet <cyan@fb.com> | 2016-11-12 21:30:02 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2016-11-12 21:30:02 (GMT) |
commit | bb97e8a6fdac3f3c3239411f7c6788dbbf1c5b33 (patch) | |
tree | 4d4614d4fe2912c7cdb6bbc03c11b8b103c634ce /lib/lz4.h | |
parent | cb2230826bb2270fd27fdf9a6afb2d2df19078ce (diff) | |
download | lz4-bb97e8a6fdac3f3c3239411f7c6788dbbf1c5b33.zip lz4-bb97e8a6fdac3f3c3239411f7c6788dbbf1c5b33.tar.gz lz4-bb97e8a6fdac3f3c3239411f7c6788dbbf1c5b33.tar.bz2 |
fixed __GNUC__ macro
Diffstat (limited to 'lib/lz4.h')
-rw-r--r-- | lib/lz4.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -416,9 +416,9 @@ struct LZ4_streamDecode_s { #ifdef LZ4_DISABLE_DEPRECATE_WARNINGS # define LZ4_DEPRECATED(message) /* disable deprecation warnings */ #else -# if (defined(__GNU_C__) && (__GNU_C__ >= 4)) || defined(__clang__) +# if (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) # define LZ4_DEPRECATED(message) __attribute__((deprecated(message))) -# elif defined(__GNU_C__) && (__GNU_C__ >= 3) +# elif defined(__GNUC__) && (__GNUC__ >= 3) # define LZ4_DEPRECATED(message) __attribute__((deprecated)) # elif defined(_MSC_VER) # define LZ4_DEPRECATED(message) __declspec(deprecated(message)) |