diff options
author | Takayuki MATSUOKA <takayuki.matsuoka@gmail.com> | 2015-04-14 15:17:06 (GMT) |
---|---|---|
committer | Takayuki MATSUOKA <takayuki.matsuoka@gmail.com> | 2015-04-14 21:39:04 (GMT) |
commit | d7298d2059a4f2da7aa19122d3af2aacb931972b (patch) | |
tree | a0f4a12edbbbae9e636621245363188219eb4126 /lib/lz4hc.h | |
parent | 985158304442c843208d446e12a3000dcc077e8a (diff) | |
download | lz4-d7298d2059a4f2da7aa19122d3af2aacb931972b.zip lz4-d7298d2059a4f2da7aa19122d3af2aacb931972b.tar.gz lz4-d7298d2059a4f2da7aa19122d3af2aacb931972b.tar.bz2 |
Replace GCC_VERSION with LZ4_GCC_VERSION
Diffstat (limited to 'lib/lz4hc.h')
-rw-r--r-- | lib/lz4hc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/lz4hc.h b/lib/lz4hc.h index 95bb6fe..d7db3bd 100644 --- a/lib/lz4hc.h +++ b/lib/lz4hc.h @@ -145,10 +145,10 @@ using LZ4_saveDictHC(). You can also define LZ4_DEPRECATE_WARNING_DEFBLOCK. */ #ifndef LZ4_DEPRECATE_WARNING_DEFBLOCK # define LZ4_DEPRECATE_WARNING_DEFBLOCK -# define GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) -# if (GCC_VERSION >= 405) || defined(__clang__) +# define LZ4_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) +# if (LZ4_GCC_VERSION >= 405) || defined(__clang__) # define LZ4_DEPRECATED(message) __attribute__((deprecated(message))) -# elif (GCC_VERSION >= 301) +# elif (LZ4_GCC_VERSION >= 301) # define LZ4_DEPRECATED(message) __attribute__((deprecated)) # elif defined(_MSC_VER) # define LZ4_DEPRECATED(message) __declspec(deprecated(message)) |